Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 191.4 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 47.92 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2333, allocations: 52.18 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01421/0.2475, allocations: 11.58 MB / 434.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009079/0.2566, allocations: 4.419 MB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.2584, allocations: 103.4 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007493/0.2659, allocations: 3.96 MB / 443.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005699/0.2716, allocations: 2.132 MB / 445.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.2736, allocations: 0.8188 MB / 446.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006482/0.2801, allocations: 4.743 MB / 451.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004813/0.2849, allocations: 3.941 MB / 455.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.2879, allocations: 1.963 MB / 457 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.2922, allocations: 2.874 MB / 459.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.2932, allocations: 452 kB / 460.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.2958, allocations: 1.252 MB / 461.6 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00256/0.2983, allocations: 2.38 MB / 464 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.3013, allocations: 2.113 MB / 466.1 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.3121, allocations: 8.97 MB / 475 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3121, allocations: 0 / 475 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3121, allocations: 0 / 475 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002476/0.3123, allocations: 4 kB / 475.1 MB, free: 10.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.02975/0.3421, allocations: 7.138 MB / 482.2 MB, free: 3.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3421, allocations: 12.03 kB / 482.2 MB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001438/0.3423, allocations: 128.1 kB / 482.3 MB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001771/0.344, allocations: 0.8389 MB / 483.2 MB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07577/0.4198, allocations: 7.163 MB / 490.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008531/0.4283, allocations: 3.526 MB / 493.9 MB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.4286, allocations: 299.8 kB / 494.1 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.4303, allocations: 403.8 kB / 494.5 MB, free: 6.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/0.4577, allocations: 13.33 MB / 0.496 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.4579, allocations: 47.58 kB / 0.496 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007012/0.4586, allocations: 191.8 kB / 0.4962 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004398/0.463, allocations: 2.202 MB / 0.4983 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.4901, allocations: 12.67 MB / 0.5107 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2392/0.7294, allocations: 46.9 MB / 0.5565 GB, free: 78.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02198/0.7514, allocations: 5.785 MB / 0.5622 GB, free: 77.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/0.7548, allocations: 3.689 MB / 0.5658 GB, free: 75.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.7555, allocations: 189.9 kB / 0.566 GB, free: 75.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.7556, allocations: 58.78 kB / 0.566 GB, free: 75.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 5.651e-06/0.7556, allocations: 0 / 0.566 GB, free: 75.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.09079/0.8464, allocations: 36.02 MB / 0.6012 GB, free: 42.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.8464, allocations: 211.6 kB / 0.6014 GB, free: 42.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/0.8518, allocations: 4.448 MB / 0.6057 GB, free: 37.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007494/0.8525, allocations: 65.7 kB / 0.6058 GB, free: 37.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.854, allocations: 3.603 MB / 0.6093 GB, free: 34.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/0.8552, allocations: 0.9869 MB / 0.6103 GB, free: 33.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/0.8572, allocations: 1.566 MB / 0.6118 GB, free: 31.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.8573, allocations: 301.1 kB / 0.6121 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004443/0.8617, allocations: 4.276 MB / 0.6163 GB, free: 27.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/0.868, allocations: 8.209 MB / 0.6243 GB, free: 17.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/0.8798, allocations: 13.29 MB / 0.6373 GB, free: 2.008 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.8799, allocations: 40 kB / 0.6373 GB, free: 1.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.02753/0.9074, allocations: 14.61 MB / 0.6516 GB, free: 3.332 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.9076, allocations: 68.25 kB / 0.6516 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/0.9078, allocations: 136 kB / 0.6518 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/0.9148, allocations: 2.498 MB / 0.6542 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006608/0.9214, allocations: 1.759 MB / 0.6559 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/0.9455, allocations: 16.75 MB / 0.6723 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/0.9517, allocations: 467.4 kB / 0.6727 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/0.953, allocations: 0.4919 MB / 0.6732 GB, free: 12.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 (807): * Single equations (assignments): 801 * 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.004463/0.9575, allocations: 2.372 MB / 0.6755 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/0.9586, allocations: 425.2 kB / 0.6759 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/0.9755, allocations: 9.606 MB / 0.6853 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-05/0.9756, allocations: 28 kB / 0.6853 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/0.9756, allocations: 8 kB / 0.6853 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.78e-05/0.9756, allocations: 15.89 kB / 0.6854 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03273/1.008, allocations: 17.41 MB / 0.7024 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/1.008, allocations: 0 / 0.7024 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/1.012, allocations: 0.5849 MB / 0.7029 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006769/1.019, allocations: 2.264 MB / 0.7051 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007164/1.019, allocations: 127.8 kB / 0.7053 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/1.041, allocations: 15.23 MB / 0.7201 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.041, allocations: 0 / 0.7201 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02577/1.067, allocations: 15.14 MB / 0.7349 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.068, allocations: 404.9 kB / 0.7353 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.069, allocations: 47.91 kB / 0.7354 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003355/1.072, allocations: 215.7 kB / 0.7356 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009507/1.073, allocations: 249.4 kB / 0.7358 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004093/1.074, allocations: 147.7 kB / 0.7359 GB, free: 12.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004927/1.079, allocations: 2.807 MB / 0.7387 GB, free: 9.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/1.079, allocations: 4 kB / 0.7387 GB, free: 9.281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006802/1.085, allocations: 1.41 MB / 0.7401 GB, free: 7.871 MB / 0.545 GB 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 (195): * Single equations (assignments): 189 * 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.2074/1.293, allocations: 15.79 MB / 0.7555 GB, free: 199.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.305, allocations: 10.12 MB / 0.7654 GB, free: 195.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.305, allocations: 0 / 0.7654 GB, free: 195.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004967/1.31, allocations: 4.38 MB / 0.7696 GB, free: 194.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/1.313, allocations: 0.5031 MB / 0.7701 GB, free: 194 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07649/1.39, allocations: 69.95 MB / 0.8384 GB, free: 121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004096/1.394, allocations: 3.215 MB / 0.8416 GB, free: 117.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005079/1.399, allocations: 2.387 MB / 0.8439 GB, free: 115.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003996/1.403, allocations: 2.51 MB / 0.8464 GB, free: 112.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.242e-06/1.403, allocations: 0 / 0.8464 GB, free: 112.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/1.752, allocations: 121 MB / 0.9645 GB, free: 196 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20/21.75, allocations: 4.281 kB / 0.9645 GB, free: 196 MB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_BevelGear1D.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.22240739199333] 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'] 21.96880101307761 21.98039595 21.665349407 Calling exit ...