Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002214/0.002214, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.2 MB / 257.8 MB, free: 8.477 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2209/0.2209, allocations: 46.89 MB / 361.1 MB, free: 4.602 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 79.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 65.99 MB / 0.5612 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01155/0.3147, allocations: 9.59 MB / 0.5706 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.3207, allocations: 2.962 MB / 0.5735 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.3214, allocations: 47.94 kB / 0.5735 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00373/0.3252, allocations: 2.025 MB / 0.5755 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.3276, allocations: 1.133 MB / 0.5766 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.3282, allocations: 287.5 kB / 0.5769 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.3311, allocations: 2.329 MB / 0.5791 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.333, allocations: 1.625 MB / 0.5807 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009975/0.334, allocations: 0.8799 MB / 0.5816 GB, free: 16 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.3355, allocations: 1.246 MB / 0.5828 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.3358, allocations: 200 kB / 0.583 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.337, allocations: 0.7216 MB / 0.5837 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.338, allocations: 1.137 MB / 0.5848 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3392, allocations: 1.308 MB / 0.5861 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004613/0.3438, allocations: 4.33 MB / 0.5903 GB, free: 7.043 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3438, allocations: 0 / 0.5903 GB, free: 7.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3438, allocations: 0 / 0.5903 GB, free: 7.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.331e-05/0.3439, allocations: 4 kB / 0.5903 GB, free: 7.039 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004627/0.3485, allocations: 2.938 MB / 0.5932 GB, free: 4.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3486, allocations: 12.03 kB / 0.5932 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/0.3538, allocations: 1.578 MB / 0.5947 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.3566, allocations: 1.344 MB / 0.5961 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3567, allocations: 144 kB / 0.5962 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/0.3571, allocations: 191.8 kB / 0.5964 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009319/0.3664, allocations: 6.246 MB / 0.6025 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.3664, allocations: 11.88 kB / 0.6025 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.3667, allocations: 87.91 kB / 0.6026 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/0.3688, allocations: 1.344 MB / 0.6039 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009359/0.3782, allocations: 5.333 MB / 0.6091 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02842/0.4066, allocations: 20.08 MB / 0.6287 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/0.4109, allocations: 1.944 MB / 0.6306 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009266/0.4118, allocations: 0.6407 MB / 0.6312 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006945/0.4188, allocations: 3.617 MB / 0.6348 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4188, allocations: 35 kB / 0.6348 GB, free: 8.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.4188, allocations: 0 / 0.6348 GB, free: 8.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005307/0.4241, allocations: 1.99 MB / 0.6367 GB, free: 6.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4241, allocations: 67.72 kB / 0.6368 GB, free: 6.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.4267, allocations: 1.942 MB / 0.6387 GB, free: 4.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.4268, allocations: 33.7 kB / 0.6387 GB, free: 4.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.4281, allocations: 1.903 MB / 0.6406 GB, free: 2.242 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.4284, allocations: 333.5 kB / 0.6409 GB, free: 1.914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/0.4291, allocations: 0.6195 MB / 0.6415 GB, free: 1.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4293, allocations: 357.9 kB / 0.6419 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.4306, allocations: 0.8842 MB / 0.6427 GB, free: 44 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/0.4335, allocations: 2.751 MB / 0.6454 GB, free: 12.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/0.4385, allocations: 3.981 MB / 0.6493 GB, free: 7.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.551e-05/0.4386, allocations: 20 kB / 0.6493 GB, free: 7.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005465/0.444, allocations: 3.52 MB / 0.6527 GB, free: 3.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.4441, allocations: 32 kB / 0.6528 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.431e-05/0.4442, allocations: 72.16 kB / 0.6528 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.015e-05/0.4443, allocations: 84 kB / 0.6529 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.4461, allocations: 0.6588 MB / 0.6536 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001138/0.4462, allocations: 131.4 kB / 0.6537 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.448, allocations: 428.8 kB / 0.6541 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.4482, allocations: 192 kB / 0.6543 GB, free: 2.332 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001854/0.4501, allocations: 1.354 MB / 0.6556 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.4503, allocations: 162.9 kB / 0.6558 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.4506, allocations: 192.9 kB / 0.6559 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.4506, allocations: 3.984 kB / 0.6559 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4506, allocations: 3.938 kB / 0.656 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/0.4509, allocations: 231.8 kB / 0.6562 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.4511, allocations: 8 kB / 0.6562 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.4515, allocations: 19.97 kB / 0.6562 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.4515, allocations: 32.41 kB / 0.6562 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001419/0.453, allocations: 0.9448 MB / 0.6572 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001355/0.4543, allocations: 1.152 MB / 0.6583 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004814/0.4548, allocations: 371.5 kB / 0.6586 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001651/0.4565, allocations: 1.195 MB / 0.6598 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of Backend: time 3.31e-07/0.4565, allocations: 3.938 kB / 0.6598 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003344/0.4598, allocations: 1.715 MB / 0.6615 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008447/0.4682, allocations: 5.415 MB / 0.6668 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.0405/0.5087, allocations: 20.7 MB / 0.687 GB, free: 0.7656 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 5.462418923154473]