Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.001292/0.001292, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001482/0.001482, allocations: 211 kB / 24.48 MB, free: 4.035 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.436/1.436, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2262/0.2262, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") [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.002248/0.002248, allocations: 75.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3228, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.02085/0.3436, allocations: 18.27 MB / 0.5791 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3563, allocations: 5.723 MB / 0.5846 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.3601, allocations: 127.6 kB / 0.5848 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.3728, allocations: 6.643 MB / 0.5913 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008498/0.3813, allocations: 2.898 MB / 0.5941 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.3855, allocations: 1.458 MB / 0.5955 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01446/0.4, allocations: 8.897 MB / 0.6042 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008304/0.4083, allocations: 5.722 MB / 0.6098 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005928/0.4142, allocations: 3.077 MB / 0.6128 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007095/0.4213, allocations: 4.436 MB / 0.6171 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.4232, allocations: 0.6836 MB / 0.6178 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.4269, allocations: 1.74 MB / 0.6195 GB, free: 9.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004544/0.4314, allocations: 3.903 MB / 0.6233 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005931/0.4373, allocations: 4.261 MB / 0.6275 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.4549, allocations: 13.22 MB / 0.6404 GB, free: 3.613 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.4549, allocations: 4 kB / 0.6404 GB, free: 3.609 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4549, allocations: 0 / 0.6404 GB, free: 3.609 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004158/0.4553, allocations: 0 / 0.6404 GB, free: 3.609 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: 2683 * Number of variables: 2683 Notification: Performance of Generate backend data structure: time 0.02307/0.4784, allocations: 9.48 MB / 0.6496 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4784, allocations: 8.031 kB / 0.6496 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.4936, allocations: 3.241 MB / 0.6528 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.5071, allocations: 5.471 MB / 0.6582 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/0.5075, allocations: 476.2 kB / 0.6586 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.5093, allocations: 0.6207 MB / 0.6592 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/0.5454, allocations: 18.45 MB / 0.6772 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002469/0.5456, allocations: 87.28 kB / 0.6773 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008219/0.5465, allocations: 291.8 kB / 0.6776 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006144/0.5526, allocations: 3.268 MB / 0.6808 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03382/0.5864, allocations: 15.77 MB / 0.6962 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5781/1.164, allocations: 70.05 MB / 0.7646 GB, free: 106.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/1.181, allocations: 6.963 MB / 0.7714 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004807/1.186, allocations: 4.71 MB / 0.776 GB, free: 103.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.186, allocations: 60.81 kB / 0.7761 GB, free: 103.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.186, allocations: 69.12 kB / 0.7761 GB, free: 103.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=301): time 5.681e-06/1.186, allocations: 0 / 0.7761 GB, free: 103.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=364): time 0.09666/1.283, allocations: 43.77 MB / 0.8189 GB, free: 66.38 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/1.283, allocations: 277.8 kB / 0.8191 GB, free: 66.06 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008303/1.291, allocations: 7.76 MB / 0.8267 GB, free: 58.45 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007198/1.292, allocations: 81.7 kB / 0.8268 GB, free: 58.36 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002304/1.294, allocations: 5.397 MB / 0.8321 GB, free: 53.46 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.295, allocations: 1.431 MB / 0.8335 GB, free: 52.04 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002151/1.298, allocations: 2.071 MB / 0.8355 GB, free: 49.96 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.583e-05/1.298, allocations: 305.1 kB / 0.8358 GB, free: 49.66 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005064/1.303, allocations: 4.572 MB / 0.8402 GB, free: 45.08 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007783/1.31, allocations: 10.03 MB / 0.85 GB, free: 32.48 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/1.325, allocations: 15.63 MB / 0.8653 GB, free: 14.26 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/1.325, allocations: 52 kB / 0.8653 GB, free: 14.21 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02836/1.354, allocations: 17.48 MB / 0.8824 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.354, allocations: 84 kB / 0.8825 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002268/1.354, allocations: 192 kB / 0.8827 GB, free: 12.43 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009004/1.363, allocations: 3.335 MB / 0.8859 GB, free: 9.086 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008626/1.372, allocations: 2.356 MB / 0.8882 GB, free: 6.727 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03139/1.403, allocations: 21.65 MB / 0.9094 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008172/1.411, allocations: 0.5969 MB / 0.91 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002096/1.413, allocations: 0.5702 MB / 0.9105 GB, free: 15.51 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1200): * Single equations (assignments): 1194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,23,100.0%), (2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007803/1.421, allocations: 3.589 MB / 0.914 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/1.423, allocations: 0.6985 MB / 0.9147 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/1.443, allocations: 10.16 MB / 0.9246 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/1.443, allocations: 15.94 kB / 0.9246 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.443, allocations: 0 / 0.9246 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002288/1.445, allocations: 0.7813 MB / 0.9254 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.447, allocations: 60 kB / 0.9254 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.45, allocations: 303.3 kB / 0.9257 GB, free: 15.84 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007057/1.451, allocations: 262 kB / 0.926 GB, free: 15.58 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02187/1.473, allocations: 10.51 MB / 0.9362 GB, free: 5.133 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01856/1.491, allocations: 12.78 MB / 0.9487 GB, free: 8.293 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004684/1.496, allocations: 3.252 MB / 0.9519 GB, free: 5.043 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007979/1.504, allocations: 4.96 MB / 0.9567 GB, free: 120 kB / 0.6388 GB Notification: Performance of Backend: time 4.41e-07/1.504, allocations: 0 / 0.9567 GB, free: 120 kB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01757/1.521, allocations: 7.893 MB / 0.9645 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of SimCode: time 0.03402/1.555, allocations: 17.71 MB / 0.9817 GB, free: 6.484 MB / 0.67 GB Notification: Performance of Templates: time 0.3816/1.937, allocations: 98.91 MB / 1.078 GB, free: 170.7 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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: 9.008667337708175]