Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 110.5 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 191.1 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 71.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3759, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01764/0.3935, allocations: 15.71 MB / 0.5349 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.4068, allocations: 5.083 MB / 0.5399 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004252/0.4111, allocations: 109 kB / 0.54 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009844/0.4209, allocations: 5.028 MB / 0.5449 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.4311, allocations: 2.675 MB / 0.5475 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004327/0.4354, allocations: 1.251 MB / 0.5487 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.4494, allocations: 7.95 MB / 0.5565 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007576/0.457, allocations: 6.046 MB / 0.5624 GB, free: 32 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004642/0.4617, allocations: 2.578 MB / 0.5649 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005172/0.4669, allocations: 3.517 MB / 0.5684 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.4689, allocations: 0.5469 MB / 0.5689 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.473, allocations: 1.568 MB / 0.5704 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.4771, allocations: 3.262 MB / 0.5736 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006054/0.4832, allocations: 3.593 MB / 0.5771 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.4995, allocations: 11.24 MB / 0.5881 GB, free: 5.637 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.4996, allocations: 4 kB / 0.5881 GB, free: 5.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4996, allocations: 4 kB / 0.5881 GB, free: 5.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005113/0.5001, allocations: 0 / 0.5881 GB, free: 5.629 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02146/0.5216, allocations: 7.906 MB / 0.5958 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5216, allocations: 8.031 kB / 0.5958 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.5373, allocations: 3.155 MB / 0.5989 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/0.5496, allocations: 4.984 MB / 0.6038 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/0.55, allocations: 369.9 kB / 0.6041 GB, free: 5.023 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/0.5522, allocations: 0.5076 MB / 0.6046 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03154/0.5838, allocations: 14.85 MB / 0.6191 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004128/0.5842, allocations: 75.39 kB / 0.6192 GB, free: 4.574 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/0.5862, allocations: 239.8 kB / 0.6194 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00488/0.5911, allocations: 2.727 MB / 0.6221 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02699/0.6181, allocations: 12.29 MB / 0.6341 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08341/0.7016, allocations: 57.24 MB / 0.69 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.7138, allocations: 4.648 MB / 0.6945 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/0.7186, allocations: 2.901 MB / 0.6974 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003315/0.7189, allocations: 44.61 kB / 0.6974 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.7191, allocations: 59.55 kB / 0.6975 GB, free: 2.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 1.032e-05/0.7191, allocations: 0 / 0.6975 GB, free: 2.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=204): time 0.3891/1.108, allocations: 23.74 MB / 0.7207 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/1.108, allocations: 255.4 kB / 0.7209 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.119, allocations: 6.747 MB / 0.7275 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004901/1.119, allocations: 53.73 kB / 0.7275 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002964/1.122, allocations: 4.784 MB / 0.7322 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.123, allocations: 0.8578 MB / 0.733 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002153/1.125, allocations: 1.697 MB / 0.7347 GB, free: 159 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.339e-05/1.125, allocations: 306.2 kB / 0.735 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004371/1.13, allocations: 2.91 MB / 0.7378 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005522/1.135, allocations: 7.852 MB / 0.7455 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009739/1.145, allocations: 11.53 MB / 0.7568 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.145, allocations: 53.84 kB / 0.7568 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.01801/1.163, allocations: 12.01 MB / 0.7685 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001583/1.163, allocations: 81.72 kB / 0.7686 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002373/1.164, allocations: 176 kB / 0.7688 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00397/1.168, allocations: 1.773 MB / 0.7705 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005181/1.173, allocations: 1.856 MB / 0.7723 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/1.185, allocations: 12.62 MB / 0.7847 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/1.192, allocations: 470.1 kB / 0.7851 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.193, allocations: 492 kB / 0.7856 GB, free: 113.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (996): * Single equations (assignments): 990 * 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 {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00603/1.199, allocations: 3.06 MB / 0.7886 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/1.201, allocations: 0.5704 MB / 0.7891 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008899/1.21, allocations: 4.854 MB / 0.7939 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.911e-05/1.21, allocations: 15.89 kB / 0.7939 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.21, allocations: 0 / 0.7939 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/1.213, allocations: 0.6416 MB / 0.7945 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/1.215, allocations: 28 kB / 0.7945 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003445/1.218, allocations: 147.8 kB / 0.7947 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004923/1.219, allocations: 157 kB / 0.7948 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008583/1.227, allocations: 5.324 MB / 0.8 GB, free: 98.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007552/1.235, allocations: 6.559 MB / 0.8064 GB, free: 91.99 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001694/1.236, allocations: 1.665 MB / 0.808 GB, free: 90.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007661/1.244, allocations: 4.293 MB / 0.8122 GB, free: 86.05 MB / 0.5606 GB Notification: Performance of Backend: time 6.12e-07/1.244, allocations: 0 / 0.8122 GB, free: 86.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.258, allocations: 5.901 MB / 0.818 GB, free: 80.17 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02863/1.286, allocations: 14.36 MB / 0.832 GB, free: 65.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.1181/1.404, allocations: 66.45 MB / 0.8969 GB, free: 15.68 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches