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.0009637/0.0009637, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001057/0.001057, allocations: 169 kB / 24.14 MB, free: 360 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.9359/0.9359, allocations: 158.6 MB / 186 MB, free: 2.773 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.1381/0.1381, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.533e-06/1.533e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.733e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.1442/0.1442, allocations: 13.45 MB / 312.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007745/0.1519, allocations: 4.724 MB / 317.3 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009487/0.1529, allocations: 112.4 kB / 317.4 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.1574, allocations: 4.468 MB / 321.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.1606, allocations: 2.394 MB / 324.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1618, allocations: 1.021 MB / 325.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004692/0.1665, allocations: 6.533 MB / 331.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/0.1703, allocations: 4.625 MB / 336.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.1741, allocations: 3.953 MB / 340.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.1773, allocations: 3.11 MB / 343.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.1779, allocations: 500 kB / 344 MB, free: 1.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.1797, allocations: 1.362 MB / 345.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.1815, allocations: 2.852 MB / 348.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.183, allocations: 1.803 MB / 350 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.1881, allocations: 6.143 MB / 356.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1881, allocations: 0 / 356.2 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1881, allocations: 4 kB / 356.2 MB, free: 4.953 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.1882, allocations: 0 / 356.2 MB, free: 4.953 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.007107/0.1953, allocations: 5.97 MB / 362.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1953, allocations: 8.031 kB / 362.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.201, allocations: 1.423 MB / 363.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004798/0.2058, allocations: 2.74 MB / 366.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.206, allocations: 312.4 kB / 366.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006991/0.2067, allocations: 424.1 kB / 367 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009628/0.2163, allocations: 5.943 MB / 373 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.2165, allocations: 56.27 kB / 373 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004794/0.217, allocations: 199.8 kB / 373.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002474/0.2194, allocations: 1.937 MB / 375.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007508/0.2269, allocations: 2.898 MB / 378 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.2523, allocations: 35.91 MB / 414 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.2557, allocations: 1.689 MB / 415.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007394/0.2564, allocations: 417.2 kB / 416 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004802/0.2612, allocations: 4.217 MB / 420.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2613, allocations: 47.56 kB / 420.3 MB, free: 2.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=158): time 2.925e-06/0.2613, allocations: 4 kB / 420.3 MB, free: 2.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.01101/0.2723, allocations: 5.39 MB / 425.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.2723, allocations: 200.9 kB / 425.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.2751, allocations: 3.824 MB / 429.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.2751, allocations: 57.7 kB / 429.8 MB, free: 8.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.2768, allocations: 3.656 MB / 433.4 MB, free: 5.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.2771, allocations: 0.7056 MB / 434.1 MB, free: 4.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009503/0.2781, allocations: 1.287 MB / 435.4 MB, free: 3.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.2781, allocations: 309.1 kB / 435.7 MB, free: 2.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.2793, allocations: 0.7958 MB / 436.5 MB, free: 2.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/0.2822, allocations: 4.874 MB / 441.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004118/0.2863, allocations: 6.221 MB / 447.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/0.2863, allocations: 48 kB / 447.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=878) (initialization): time 0.004803/0.2911, allocations: 4.602 MB / 452.3 MB, free: 14.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.2912, allocations: 68 kB / 452.3 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-05/0.2913, allocations: 148 kB / 452.5 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/0.2919, allocations: 401 kB / 452.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/0.2945, allocations: 1.595 MB / 454.5 MB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.2971, allocations: 3.373 MB / 457.8 MB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.2993, allocations: 299.7 kB / 458.1 MB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.2996, allocations: 348 kB / 458.5 MB, free: 7.754 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.001261/0.3009, allocations: 0.6934 MB / 459.2 MB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.3012, allocations: 247.7 kB / 459.4 MB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3024, allocations: 0.9473 MB / 460.4 MB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.3024, allocations: 16 kB / 460.4 MB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3024, allocations: 4 kB / 460.4 MB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3024, allocations: 7.984 kB / 460.4 MB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005492/0.3079, allocations: 4.444 MB / 464.8 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3079, allocations: 8.094 kB / 464.8 MB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.3087, allocations: 299.5 kB / 465.1 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007201/0.3094, allocations: 420.2 kB / 465.5 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.3095, allocations: 35.97 kB / 465.6 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.156/0.4655, allocations: 2.767 MB / 468.3 MB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4655, allocations: 6.812 kB / 468.3 MB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.4682, allocations: 1.866 MB / 470.2 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009119/0.4691, allocations: 0.4954 MB / 470.7 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/0.4695, allocations: 34.25 kB / 470.7 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/0.4702, allocations: 43.66 kB / 470.8 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.4705, allocations: 122.8 kB / 470.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.4705, allocations: 39.17 kB / 470.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001963/0.4725, allocations: 1.447 MB / 472.4 MB, free: 127.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4725, allocations: 1.062 kB / 472.4 MB, free: 127.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003846/0.4763, allocations: 1.213 MB / 473.6 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.0003023/0.4766, allocations: 169.3 kB / 473.8 MB, free: 127.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.4799, allocations: 2.821 MB / 476.6 MB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001801/0.48, allocations: 106.7 kB / 476.7 MB, free: 126.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.4807, allocations: 0.6782 MB / 477.4 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.00201/0.4827, allocations: 0.7672 MB / 478.1 MB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008898/0.4916, allocations: 9.109 MB / 487.2 MB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.4927, allocations: 1.549 MB / 488.8 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001136/0.4939, allocations: 0.5595 MB / 489.4 MB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007798/0.4947, allocations: 0.63 MB / 490 MB, free: 122.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4947, allocations: 0 / 490 MB, free: 122.2 MB / 426.7 MB Notification: Performance of Templates: time 0.04399/0.5386, allocations: 33.65 MB / 0.5114 GB, free: 93.3 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 -s gbode -gbm=radauIIA3 -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.181506737135351]