Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 115.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001128, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3344, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01572/0.3502, allocations: 15.41 MB / 0.5467 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.3608, allocations: 5.054 MB / 0.5516 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.3633, allocations: 111.7 kB / 0.5518 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008053/0.3714, allocations: 4.996 MB / 0.5566 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.3787, allocations: 2.501 MB / 0.5591 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.3816, allocations: 1.232 MB / 0.5603 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.3936, allocations: 7.972 MB / 0.5681 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008504/0.4021, allocations: 5.981 MB / 0.5739 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.4066, allocations: 2.523 MB / 0.5764 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005813/0.4125, allocations: 3.458 MB / 0.5797 GB, free: 268 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.4143, allocations: 0.5391 MB / 0.5803 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.4185, allocations: 1.549 MB / 0.5818 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003838/0.4223, allocations: 3.156 MB / 0.5849 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005248/0.4276, allocations: 3.476 MB / 0.5883 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.4397, allocations: 10.82 MB / 0.5988 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.4398, allocations: 12 kB / 0.5988 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4398, allocations: 0 / 0.5988 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003433/0.4401, allocations: 0 / 0.5988 GB, free: 12.64 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.02/0.4602, allocations: 7.525 MB / 0.6062 GB, free: 5.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4602, allocations: 8.031 kB / 0.6062 GB, free: 5.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/0.475, allocations: 3.061 MB / 0.6092 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.4861, allocations: 4.833 MB / 0.6139 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.4865, allocations: 365.7 kB / 0.6143 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.4882, allocations: 495.7 kB / 0.6147 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/0.5136, allocations: 14.27 MB / 0.6287 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/0.5139, allocations: 79.3 kB / 0.6287 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.5151, allocations: 235.8 kB / 0.629 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00418/0.5193, allocations: 2.535 MB / 0.6314 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/0.5437, allocations: 11.84 MB / 0.643 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0702/0.614, allocations: 55.89 MB / 0.6976 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/0.6257, allocations: 4.639 MB / 0.7021 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/0.6294, allocations: 2.903 MB / 0.705 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.6296, allocations: 37.56 kB / 0.705 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.6297, allocations: 63.44 kB / 0.7051 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 4.158e-06/0.6297, allocations: 0 / 0.7051 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.3448/0.9745, allocations: 23.11 MB / 0.7276 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.9746, allocations: 268.4 kB / 0.7279 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009311/0.9839, allocations: 6.668 MB / 0.7344 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004476/0.9844, allocations: 57.05 kB / 0.7344 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.9866, allocations: 4.484 MB / 0.7388 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008407/0.9875, allocations: 0.8209 MB / 0.7396 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.9892, allocations: 1.661 MB / 0.7412 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.9893, allocations: 316.8 kB / 0.7415 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.9925, allocations: 2.888 MB / 0.7444 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004654/0.9972, allocations: 7.789 MB / 0.752 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009125/1.006, allocations: 11.42 MB / 0.7631 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.006, allocations: 52 kB / 0.7632 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.0185/1.025, allocations: 11.91 MB / 0.7748 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/1.025, allocations: 83.98 kB / 0.7749 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001721/1.025, allocations: 176.2 kB / 0.7751 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003941/1.029, allocations: 1.768 MB / 0.7768 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005047/1.034, allocations: 1.844 MB / 0.7786 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/1.045, allocations: 12.6 MB / 0.7909 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006003/1.051, allocations: 459.3 kB / 0.7913 GB, free: 100 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007283/1.052, allocations: 488 kB / 0.7918 GB, free: 99.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.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 (987): * Single equations (assignments): 981 * 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.003525/1.056, allocations: 2.972 MB / 0.7947 GB, free: 96.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/1.057, allocations: 0.5361 MB / 0.7952 GB, free: 96.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/1.064, allocations: 4.872 MB / 0.8 GB, free: 91.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.064, allocations: 7.969 kB / 0.8 GB, free: 91.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.064, allocations: 0 / 0.8 GB, free: 91.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.065, allocations: 0.6073 MB / 0.8006 GB, free: 90.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006379/1.066, allocations: 32 kB / 0.8006 GB, free: 90.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.068, allocations: 139.8 kB / 0.8007 GB, free: 90.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/1.068, allocations: 145.2 kB / 0.8009 GB, free: 90.16 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007692/1.076, allocations: 5.339 MB / 0.8061 GB, free: 84.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006294/1.082, allocations: 6.519 MB / 0.8125 GB, free: 78.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001599/1.084, allocations: 1.673 MB / 0.8141 GB, free: 76.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004982/1.089, allocations: 4.249 MB / 0.8182 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of Backend: time 2.3e-07/1.089, allocations: 0 / 0.8182 GB, free: 72.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009636/1.098, allocations: 5.862 MB / 0.824 GB, free: 66.56 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01838/1.117, allocations: 13.76 MB / 0.8374 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.1026/1.219, allocations: 66.13 MB / 0.902 GB, free: 3.047 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches