Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.001039/0.001039, allocations: 83.98 kB / 20.72 MB, free: 3.605 MB / 18.57 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.0009848/0.0009848, allocations: 173 kB / 24.14 MB, free: 196 kB / 18.57 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 0.8785/0.8785, allocations: 158.6 MB / 186 MB, free: 2.336 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.144/0.144, allocations: 32.38 MB / 270.7 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.561e-05, allocations: 6.25 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.1538/0.1538, allocations: 13.41 MB / 312.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009991/0.1638, allocations: 4.725 MB / 317.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.1659, allocations: 111.8 kB / 317.3 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004728/0.1706, allocations: 4.536 MB / 321.9 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.1747, allocations: 2.424 MB / 324.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1762, allocations: 1.033 MB / 325.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00522/0.1814, allocations: 6.523 MB / 331.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/0.185, allocations: 4.852 MB / 336.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.1886, allocations: 4.023 MB / 340.7 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.1913, allocations: 3.098 MB / 343.8 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004951/0.1918, allocations: 0.4961 MB / 344.3 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.1937, allocations: 1.323 MB / 345.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.1952, allocations: 2.844 MB / 348.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.1965, allocations: 1.811 MB / 350.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004503/0.201, allocations: 6.147 MB / 356.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.201, allocations: 0 / 356.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.201, allocations: 0 / 356.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.569e-05/0.2011, allocations: 8 kB / 356.4 MB, free: 4.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.005814/0.2069, allocations: 5.959 MB / 362.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.207, allocations: 12.03 kB / 362.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/0.2102, allocations: 1.413 MB / 363.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.2132, allocations: 2.752 MB / 366.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.2135, allocations: 316.3 kB / 366.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004581/0.214, allocations: 416.2 kB / 367.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/0.2199, allocations: 5.948 MB / 373.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.22, allocations: 47.62 kB / 373.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/0.2204, allocations: 199.8 kB / 373.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/0.2219, allocations: 1.937 MB / 375.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004243/0.2262, allocations: 2.891 MB / 378.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/0.2517, allocations: 35.91 MB / 414.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.255, allocations: 1.7 MB / 415.9 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.2554, allocations: 414.9 kB / 416.3 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005217/0.2607, allocations: 4.197 MB / 420.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2607, allocations: 51.5 kB / 420.6 MB, free: 2.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=158): time 2.855e-06/0.2607, allocations: 0 / 420.6 MB, free: 2.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.01132/0.272, allocations: 5.398 MB / 426 MB, free: 12.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.2721, allocations: 204.8 kB / 426.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.2748, allocations: 3.827 MB / 430 MB, free: 8.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.2748, allocations: 49.69 kB / 430 MB, free: 8.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001818/0.2766, allocations: 3.659 MB / 433.7 MB, free: 4.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.277, allocations: 0.6978 MB / 434.4 MB, free: 4.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009774/0.278, allocations: 1.294 MB / 435.7 MB, free: 2.918 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.2781, allocations: 301.1 kB / 436 MB, free: 2.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.2792, allocations: 0.7997 MB / 436.8 MB, free: 1.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/0.2821, allocations: 4.866 MB / 441.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/0.2865, allocations: 6.233 MB / 447.9 MB, free: 2.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.24e-05/0.2865, allocations: 40 kB / 447.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=878) (initialization): time 0.005057/0.2916, allocations: 4.6 MB / 452.5 MB, free: 13.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.2917, allocations: 68 kB / 452.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.082e-05/0.2918, allocations: 148 kB / 452.7 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/0.2924, allocations: 412.7 kB / 453.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.2948, allocations: 1.513 MB / 454.7 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.2973, allocations: 3.357 MB / 458 MB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.2996, allocations: 291.7 kB / 458.3 MB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.2999, allocations: 356 kB / 458.6 MB, free: 7.559 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 835 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001465/0.3014, allocations: 0.6779 MB / 459.3 MB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.3018, allocations: 255.7 kB / 459.6 MB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.303, allocations: 0.9396 MB / 460.5 MB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.303, allocations: 27.92 kB / 460.5 MB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.303, allocations: 8 kB / 460.5 MB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.303, allocations: 7.969 kB / 460.6 MB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005944/0.309, allocations: 4.443 MB / 465 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.309, allocations: 8 kB / 465 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.3096, allocations: 251.7 kB / 465.3 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007163/0.3103, allocations: 424.8 kB / 465.7 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.3104, allocations: 35.98 kB / 465.7 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.172/0.4824, allocations: 2.76 MB / 468.5 MB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.4824, allocations: 10.59 kB / 468.5 MB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.4851, allocations: 1.869 MB / 470.3 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/0.4859, allocations: 0.4889 MB / 470.8 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.4862, allocations: 35.91 kB / 470.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.4869, allocations: 42.14 kB / 470.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.4872, allocations: 115.6 kB / 471 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.4872, allocations: 42.42 kB / 471.1 MB, free: 127.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001933/0.4892, allocations: 1.448 MB / 472.5 MB, free: 127.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4892, allocations: 0 / 472.5 MB, free: 127.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003824/0.493, allocations: 1.216 MB / 473.7 MB, free: 127.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003306/0.4933, allocations: 175 kB / 473.9 MB, free: 127.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.4969, allocations: 2.825 MB / 476.7 MB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001909/0.4971, allocations: 105 kB / 476.8 MB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.4978, allocations: 0.6802 MB / 477.5 MB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.4999, allocations: 0.7587 MB / 478.3 MB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.5093, allocations: 9.121 MB / 487.4 MB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.5104, allocations: 1.55 MB / 488.9 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001135/0.5116, allocations: 0.5599 MB / 489.5 MB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007774/0.5124, allocations: 0.6244 MB / 490.1 MB, free: 122.2 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5124, allocations: 0 / 490.1 MB, free: 122.2 MB / 426.7 MB Notification: Performance of Templates: time 0.04533/0.5577, allocations: 33.6 MB / 0.5114 GB, free: 93.35 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2129783523269]