Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.002054/0.002054, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002802/0.002802, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.222/0.222, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01254/0.324, allocations: 9.719 MB / 0.5713 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008139/0.3321, allocations: 3.641 MB / 0.5749 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.3335, allocations: 75.62 kB / 0.5749 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005343/0.3389, allocations: 2.617 MB / 0.5775 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004504/0.3434, allocations: 1.806 MB / 0.5793 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.3449, allocations: 0.694 MB / 0.5799 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.3495, allocations: 3.582 MB / 0.5834 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.3526, allocations: 2.815 MB / 0.5862 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.3544, allocations: 1.487 MB / 0.5876 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.3571, allocations: 2.15 MB / 0.5897 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.3576, allocations: 327.9 kB / 0.5901 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.3593, allocations: 0.9596 MB / 0.591 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.3612, allocations: 1.846 MB / 0.5928 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.3629, allocations: 1.549 MB / 0.5943 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007361/0.3703, allocations: 6.716 MB / 0.6009 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3703, allocations: 4 kB / 0.6009 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3703, allocations: 4 kB / 0.6009 GB, free: 12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.3704, allocations: 0 / 0.6009 GB, free: 12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01826/0.3887, allocations: 5.117 MB / 0.6059 GB, free: 6.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3887, allocations: 8.031 kB / 0.6059 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006949/0.3957, allocations: 1.882 MB / 0.6077 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/0.4013, allocations: 2.197 MB / 0.6099 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.4015, allocations: 221.8 kB / 0.6101 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008825/0.4024, allocations: 303.8 kB / 0.6104 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.422, allocations: 10.07 MB / 0.6202 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.4221, allocations: 35.7 kB / 0.6202 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/0.4225, allocations: 151.8 kB / 0.6204 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003265/0.4258, allocations: 1.802 MB / 0.6221 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.445, allocations: 9.026 MB / 0.6309 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04799/0.4929, allocations: 34.64 MB / 0.6648 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.5072, allocations: 3.156 MB / 0.6679 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.5096, allocations: 1.601 MB / 0.6694 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007748/0.5103, allocations: 228.3 kB / 0.6696 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.5104, allocations: 55.16 kB / 0.6697 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.238e-06/0.5104, allocations: 4 kB / 0.6697 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04458/0.555, allocations: 12.95 MB / 0.6823 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/0.5551, allocations: 145.1 kB / 0.6825 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005086/0.5601, allocations: 3.636 MB / 0.686 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/0.5604, allocations: 45.7 kB / 0.6861 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002591/0.563, allocations: 3.105 MB / 0.6891 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007416/0.5637, allocations: 0.5739 MB / 0.6897 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/0.5653, allocations: 1.143 MB / 0.6908 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5655, allocations: 301.1 kB / 0.6911 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.5685, allocations: 1.939 MB / 0.693 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006193/0.5747, allocations: 5.494 MB / 0.6983 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.5848, allocations: 8.062 MB / 0.7062 GB, free: 10.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.951e-05/0.5849, allocations: 36 kB / 0.7062 GB, free: 10.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01427/0.5992, allocations: 7.897 MB / 0.7139 GB, free: 2.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/0.5992, allocations: 60.19 kB / 0.714 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/0.5994, allocations: 132 kB / 0.7141 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.602, allocations: 0.9049 MB / 0.715 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003992/0.606, allocations: 1.283 MB / 0.7163 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007195/0.6132, allocations: 5.006 MB / 0.7212 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003667/0.6169, allocations: 303.7 kB / 0.7214 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005398/0.6174, allocations: 359.9 kB / 0.7218 GB, free: 10.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003098/0.6205, allocations: 1.967 MB / 0.7237 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/0.6211, allocations: 305.9 kB / 0.724 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005569/0.6266, allocations: 2.739 MB / 0.7267 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.6267, allocations: 11.91 kB / 0.7267 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6267, allocations: 0 / 0.7267 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.6273, allocations: 269.8 kB / 0.7269 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/0.6276, allocations: 23.98 kB / 0.727 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6287, allocations: 75.91 kB / 0.727 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.629, allocations: 100.4 kB / 0.7271 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006031/0.635, allocations: 3.272 MB / 0.7303 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.258/0.8931, allocations: 4.388 MB / 0.7346 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001259/0.8943, allocations: 1.027 MB / 0.7356 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002526/0.8969, allocations: 2.091 MB / 0.7377 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of Backend: time 4.01e-07/0.8969, allocations: 1.812 kB / 0.7377 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007358/0.9042, allocations: 3.676 MB / 0.7413 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01205/0.9163, allocations: 8.636 MB / 0.7497 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0623/0.9786, allocations: 44.55 MB / 0.7932 GB, free: 103.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.994148707002751]