Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001837/0.001837, allocations: 106.8 kB / 21.19 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.002281/0.002281, allocations: 214.8 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.459/1.459, 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.2265/0.2265, allocations: 46.97 MB / 361.6 MB, free: 4.031 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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 75.86 kB / 0.4974 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.0144/0.3089, allocations: 11.38 MB / 0.573 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.3175, allocations: 4.108 MB / 0.577 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.3189, allocations: 95.56 kB / 0.5771 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007115/0.326, allocations: 3.61 MB / 0.5806 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.3314, allocations: 2.027 MB / 0.5826 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.3333, allocations: 0.8227 MB / 0.5834 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005282/0.3386, allocations: 4.213 MB / 0.5875 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004429/0.343, allocations: 3.706 MB / 0.5911 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.346, allocations: 1.889 MB / 0.5929 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.3496, allocations: 2.64 MB / 0.5955 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007627/0.3503, allocations: 416 kB / 0.5959 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.3524, allocations: 1.046 MB / 0.5969 GB, free: 40 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002283/0.3547, allocations: 2.255 MB / 0.5991 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002383/0.3571, allocations: 1.938 MB / 0.601 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009715/0.3668, allocations: 8.148 MB / 0.609 GB, free: 3.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3668, allocations: 0 / 0.609 GB, free: 3.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3668, allocations: 7.938 kB / 0.609 GB, free: 3.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001576/0.3669, allocations: 0 / 0.609 GB, free: 3.641 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02078/0.3877, allocations: 6.272 MB / 0.6151 GB, free: 13.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3878, allocations: 8.031 kB / 0.6151 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.3947, allocations: 1.994 MB / 0.6171 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005994/0.4007, allocations: 2.639 MB / 0.6197 GB, free: 8.605 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.4009, allocations: 291.5 kB / 0.6199 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.4017, allocations: 395.8 kB / 0.6203 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.424, allocations: 12.23 MB / 0.6323 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.4241, allocations: 43.62 kB / 0.6323 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005245/0.4246, allocations: 183.8 kB / 0.6325 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004296/0.4289, allocations: 2.19 MB / 0.6346 GB, free: 8.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/0.452, allocations: 11.17 MB / 0.6455 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06682/0.5188, allocations: 42.96 MB / 0.6875 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/0.5382, allocations: 4.839 MB / 0.6922 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004801/0.543, allocations: 3.174 MB / 0.6953 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008144/0.5438, allocations: 244.9 kB / 0.6955 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.5439, allocations: 51.88 kB / 0.6956 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 5.991e-06/0.5439, allocations: 0 / 0.6956 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.07861/0.6225, allocations: 27.39 MB / 0.7223 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.6226, allocations: 150.5 kB / 0.7225 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005442/0.628, allocations: 3.924 MB / 0.7263 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004923/0.6285, allocations: 61.7 kB / 0.7264 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002813/0.6313, allocations: 3.544 MB / 0.7298 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/0.6325, allocations: 0.9225 MB / 0.7307 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002232/0.6348, allocations: 1.423 MB / 0.7321 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6349, allocations: 305.1 kB / 0.7324 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2454/0.8803, allocations: 3.282 MB / 0.7356 GB, free: 154 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007385/0.8877, allocations: 7.087 MB / 0.7425 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009886/0.8976, allocations: 11.16 MB / 0.7534 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.8977, allocations: 35.44 kB / 0.7535 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01522/0.9129, allocations: 11.25 MB / 0.7644 GB, free: 134 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.913, allocations: 61.64 kB / 0.7645 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/0.9131, allocations: 136 kB / 0.7646 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.9156, allocations: 1.118 MB / 0.7657 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005607/0.9212, allocations: 1.69 MB / 0.7674 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/0.9274, allocations: 6.169 MB / 0.7734 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/0.9323, allocations: 399 kB / 0.7738 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006423/0.933, allocations: 447.2 kB / 0.7742 GB, free: 125.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (816): * Single equations (assignments): 812 * 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.002901/0.9359, allocations: 2.309 MB / 0.7765 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006216/0.9365, allocations: 360 kB / 0.7768 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008053/0.9445, allocations: 6.138 MB / 0.7828 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.9446, allocations: 11.95 kB / 0.7828 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.9446, allocations: 0 / 0.7828 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/0.9464, allocations: 0.7659 MB / 0.7836 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005134/0.9469, allocations: 40.55 kB / 0.7836 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/0.9491, allocations: 167.8 kB / 0.7838 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.9495, allocations: 189.5 kB / 0.7839 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009569/0.9591, allocations: 6.635 MB / 0.7904 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009076/0.9681, allocations: 9.47 MB / 0.7997 GB, free: 99.74 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00231/0.9704, allocations: 2.397 MB / 0.802 GB, free: 97.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00255/0.973, allocations: 2.269 MB / 0.8042 GB, free: 95.09 MB / 0.5606 GB Notification: Performance of Backend: time 2.7e-07/0.973, allocations: 4 kB / 0.8042 GB, free: 95.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008386/0.9814, allocations: 5.335 MB / 0.8094 GB, free: 89.81 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01347/0.9949, allocations: 10.56 MB / 0.8197 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.09205/1.087, allocations: 70.67 MB / 0.8888 GB, free: 9.07 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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: 15.372713447999558]