Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.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.001365/0.001365, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001547/0.001547, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.229/0.229, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2956, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.01997/0.3156, allocations: 15.45 MB / 0.5769 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.3273, allocations: 5.432 MB / 0.5822 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.3296, allocations: 155.2 kB / 0.5824 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01157/0.3411, allocations: 6.094 MB / 0.5883 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007004/0.3481, allocations: 3 MB / 0.5913 GB, free: 5.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.3514, allocations: 1.583 MB / 0.5928 GB, free: 4.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.3647, allocations: 9.904 MB / 0.6025 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008573/0.3732, allocations: 6.016 MB / 0.6084 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00585/0.3791, allocations: 3.174 MB / 0.6115 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007318/0.3864, allocations: 4.529 MB / 0.6159 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001684/0.3881, allocations: 0.6836 MB / 0.6165 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.3916, allocations: 1.615 MB / 0.6181 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004158/0.3957, allocations: 3.931 MB / 0.622 GB, free: 6.332 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004535/0.4002, allocations: 3.185 MB / 0.6251 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0153/0.4155, allocations: 13.1 MB / 0.6379 GB, free: 5.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4156, allocations: 0 / 0.6379 GB, free: 5.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4156, allocations: 0 / 0.6379 GB, free: 5.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003442/0.4159, allocations: 0 / 0.6379 GB, free: 5.98 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02145/0.4373, allocations: 9.188 MB / 0.6468 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4374, allocations: 12.03 kB / 0.6468 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01738/0.4548, allocations: 3.541 MB / 0.6503 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.4716, allocations: 5.957 MB / 0.6561 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000458/0.472, allocations: 451.6 kB / 0.6566 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002291/0.4743, allocations: 0.5973 MB / 0.6571 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/0.5097, allocations: 17.31 MB / 0.674 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002947/0.51, allocations: 75.42 kB / 0.6741 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.5111, allocations: 283.8 kB / 0.6744 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005697/0.5168, allocations: 2.893 MB / 0.6772 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/0.5485, allocations: 14.29 MB / 0.6912 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5514/1.1, allocations: 60.43 MB / 0.7502 GB, free: 112.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/1.116, allocations: 5.934 MB / 0.756 GB, free: 112.2 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/1.119, allocations: 3.622 MB / 0.7595 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/1.12, allocations: 187.7 kB / 0.7597 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/1.12, allocations: 62.47 kB / 0.7597 GB, free: 111 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=231): time 5.48e-06/1.12, allocations: 1.641 kB / 0.7598 GB, free: 111 MB / 0.5607 GB Notification: Performance of matching and sorting (n=255): time 0.07742/1.197, allocations: 31.4 MB / 0.7904 GB, free: 87.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/1.197, allocations: 283 kB / 0.7907 GB, free: 87.46 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007407/1.205, allocations: 6.357 MB / 0.7969 GB, free: 81.31 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005983/1.205, allocations: 64.98 kB / 0.797 GB, free: 81.24 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/1.208, allocations: 5.305 MB / 0.8021 GB, free: 76.42 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009976/1.209, allocations: 1.044 MB / 0.8032 GB, free: 75.39 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/1.211, allocations: 1.857 MB / 0.805 GB, free: 73.52 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.926e-05/1.211, allocations: 305.1 kB / 0.8053 GB, free: 73.22 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/1.214, allocations: 3.426 MB / 0.8086 GB, free: 69.79 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005562/1.22, allocations: 8.716 MB / 0.8171 GB, free: 58.56 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/1.231, allocations: 12.85 MB / 0.8297 GB, free: 43.39 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001568/1.231, allocations: 56 kB / 0.8297 GB, free: 43.34 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.0213/1.252, allocations: 13.75 MB / 0.8432 GB, free: 29.57 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/1.252, allocations: 80 kB / 0.8432 GB, free: 29.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.253, allocations: 184 kB / 0.8434 GB, free: 29.31 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/1.258, allocations: 2.306 MB / 0.8457 GB, free: 27 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/1.264, allocations: 2.027 MB / 0.8476 GB, free: 24.96 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.279, allocations: 16.05 MB / 0.8633 GB, free: 8.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/1.285, allocations: 0.5032 MB / 0.8638 GB, free: 8.016 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009509/1.286, allocations: 0.5157 MB / 0.8643 GB, free: 7.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00418/1.29, allocations: 3.406 MB / 0.8676 GB, free: 4.078 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009911/1.291, allocations: 0.5433 MB / 0.8682 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.302, allocations: 6.346 MB / 0.8744 GB, free: 13.15 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/1.302, allocations: 11.95 kB / 0.8744 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.302, allocations: 384 / 0.8744 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.303, allocations: 0.5118 MB / 0.8749 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007271/1.304, allocations: 39.98 kB / 0.8749 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.306, allocations: 195.2 kB / 0.8751 GB, free: 12.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004541/1.306, allocations: 197.5 kB / 0.8753 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01348/1.32, allocations: 6.825 MB / 0.8819 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01151/1.331, allocations: 8.205 MB / 0.89 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002892/1.334, allocations: 2.041 MB / 0.892 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005917/1.34, allocations: 3.76 MB / 0.8956 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of Backend: time 3.81e-07/1.34, allocations: 0 / 0.8956 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.354, allocations: 6.523 MB / 0.902 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02849/1.382, allocations: 16.24 MB / 0.9179 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.3805/1.763, allocations: 83.15 MB / 0.9991 GB, free: 261.8 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques2.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: 8.842973409002298]