Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00574/0.00574, allocations: 114 kB / 21.97 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 212.3 kB / 25.28 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 47.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2201, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.012/0.2321, allocations: 14.05 MB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009865/0.242, allocations: 4.782 MB / 416 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.244, allocations: 97.69 kB / 416.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007362/0.2514, allocations: 4.145 MB / 420.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.2573, allocations: 2.138 MB / 422.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.2593, allocations: 0.8269 MB / 423.2 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006903/0.2662, allocations: 4.601 MB / 427.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00517/0.2714, allocations: 3.948 MB / 431.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.2747, allocations: 1.986 MB / 433.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.2786, allocations: 2.89 MB / 436.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000936/0.2795, allocations: 452 kB / 437.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.2821, allocations: 1.365 MB / 438.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.2846, allocations: 2.392 MB / 440.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003521/0.2881, allocations: 2.805 MB / 443.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.2983, allocations: 8.97 MB / 452.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2983, allocations: 3.938 kB / 452.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2983, allocations: 0 / 452.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.2985, allocations: 0 / 452.6 MB, free: 11.69 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.02869/0.3272, allocations: 7.177 MB / 459.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3272, allocations: 11.98 kB / 459.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000138/0.3274, allocations: 136.1 kB / 459.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001261/0.3286, allocations: 0.8469 MB / 460.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08263/0.4113, allocations: 7.163 MB / 467.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008211/0.4195, allocations: 3.659 MB / 471.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.4197, allocations: 303.8 kB / 471.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.4208, allocations: 407.8 kB / 472.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.4457, allocations: 13.27 MB / 485.5 MB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.4458, allocations: 51.58 kB / 485.6 MB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005859/0.4464, allocations: 187.8 kB / 485.8 MB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004397/0.4508, allocations: 2.206 MB / 488 MB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/0.4775, allocations: 12.7 MB / 0.4889 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06659/0.5441, allocations: 49.15 MB / 0.5369 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02441/0.5685, allocations: 5.825 MB / 0.5426 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005132/0.5736, allocations: 3.697 MB / 0.5462 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.5744, allocations: 192.9 kB / 0.5464 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.5745, allocations: 63.92 kB / 0.5465 GB, free: 14.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=217): time 4.639e-06/0.5745, allocations: 3.938 kB / 0.5465 GB, free: 14.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=255): time 0.2484/0.8229, allocations: 36.09 MB / 0.5817 GB, free: 139.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.823, allocations: 209.2 kB / 0.5819 GB, free: 139.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/0.8285, allocations: 4.481 MB / 0.5863 GB, free: 137.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007843/0.8293, allocations: 61.39 kB / 0.5864 GB, free: 137.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.8308, allocations: 3.618 MB / 0.5899 GB, free: 135.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.8319, allocations: 0.9948 MB / 0.5909 GB, free: 134.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/0.834, allocations: 1.579 MB / 0.5924 GB, free: 133.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.74e-05/0.834, allocations: 305.1 kB / 0.5927 GB, free: 133.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004439/0.8384, allocations: 4.279 MB / 0.5969 GB, free: 131.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00552/0.844, allocations: 8.183 MB / 0.6049 GB, free: 121.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.8547, allocations: 13.31 MB / 0.6179 GB, free: 106.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-05/0.8547, allocations: 43.98 kB / 0.6179 GB, free: 106.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.01918/0.8739, allocations: 14.64 MB / 0.6322 GB, free: 91.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.874, allocations: 64.94 kB / 0.6323 GB, free: 91.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.862e-05/0.8741, allocations: 136 kB / 0.6324 GB, free: 91.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005725/0.8798, allocations: 2.506 MB / 0.6349 GB, free: 88.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/0.8855, allocations: 1.766 MB / 0.6366 GB, free: 87.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.9017, allocations: 16.89 MB / 0.6531 GB, free: 69.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/0.9078, allocations: 471.5 kB / 0.6535 GB, free: 69.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009566/0.9088, allocations: 499.7 kB / 0.654 GB, free: 69.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (811): * Single equations (assignments): 805 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,15,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003146/0.9119, allocations: 2.392 MB / 0.6563 GB, free: 66.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000906/0.9128, allocations: 421.1 kB / 0.6567 GB, free: 66.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.9257, allocations: 9.634 MB / 0.6661 GB, free: 56.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/0.9258, allocations: 31.81 kB / 0.6662 GB, free: 56.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.9258, allocations: 12 kB / 0.6662 GB, free: 56.49 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.9258, allocations: 11.95 kB / 0.6662 GB, free: 56.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/0.9493, allocations: 18.15 MB / 0.6839 GB, free: 38.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.9493, allocations: 0 / 0.6839 GB, free: 38.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/0.9521, allocations: 0.5888 MB / 0.6845 GB, free: 37.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005442/0.9575, allocations: 2.273 MB / 0.6867 GB, free: 35.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004225/0.958, allocations: 127.8 kB / 0.6868 GB, free: 35.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.9722, allocations: 15.38 MB / 0.7019 GB, free: 19.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9722, allocations: 8 kB / 0.7019 GB, free: 19.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.9894, allocations: 15.18 MB / 0.7167 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/0.9918, allocations: 1.005 MB / 0.7177 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007025/0.9925, allocations: 40 kB / 0.7177 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/0.9952, allocations: 223.7 kB / 0.7179 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006356/0.9959, allocations: 257.3 kB / 0.7182 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003124/0.9962, allocations: 147.8 kB / 0.7183 GB, free: 2.652 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003139/0.9993, allocations: 2.82 MB / 0.7211 GB, free: 15.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9993, allocations: 0 / 0.7211 GB, free: 15.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005885/1.005, allocations: 1.426 MB / 0.7225 GB, free: 14.41 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 192 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (4,18,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02408/1.029, allocations: 15.85 MB / 0.738 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.1665/1.196, allocations: 10.13 MB / 0.7478 GB, free: 169.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.196, allocations: 0 / 0.7478 GB, free: 169.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006291/1.202, allocations: 4.399 MB / 0.7521 GB, free: 168.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.205, allocations: 0.5017 MB / 0.7526 GB, free: 168.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07851/1.284, allocations: 70.23 MB / 0.8212 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/1.287, allocations: 3.756 MB / 0.8249 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004338/1.291, allocations: 2.395 MB / 0.8272 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003016/1.294, allocations: 2.522 MB / 0.8297 GB, free: 100 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/1.294, allocations: 0 / 0.8297 GB, free: 100 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/1.615, allocations: 122.6 MB / 0.9494 GB, free: 175.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.3/21.92, allocations: 3 kB / 0.9494 GB, free: 175.3 MB / 0.5137 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.224970797018614] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia2.phi', 'inertia2.w', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 22.14403709099861 22.15464861 21.853884237 Calling exit ...