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.001089/0.001089, allocations: 109.4 kB / 18.45 MB, free: 4.598 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.001108/0.001108, allocations: 184.3 kB / 19.39 MB, free: 3.672 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.399/1.399, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.206/0.206, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3445, allocations: 60.83 MB / 0.5196 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01753/0.3621, allocations: 15.69 MB / 0.5349 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.3755, allocations: 5.095 MB / 0.5399 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/0.3797, allocations: 108 kB / 0.54 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.3898, allocations: 5.024 MB / 0.5449 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008683/0.3985, allocations: 2.684 MB / 0.5475 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.4022, allocations: 1.244 MB / 0.5487 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.4152, allocations: 7.95 MB / 0.5565 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008317/0.4236, allocations: 6.034 MB / 0.5624 GB, free: 188 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.4284, allocations: 2.586 MB / 0.5649 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005393/0.4338, allocations: 3.505 MB / 0.5683 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001813/0.4357, allocations: 0.5508 MB / 0.5689 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003796/0.4395, allocations: 1.576 MB / 0.5704 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003863/0.4434, allocations: 3.262 MB / 0.5736 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005838/0.4492, allocations: 3.593 MB / 0.5771 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.4636, allocations: 11.25 MB / 0.5881 GB, free: 5.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4636, allocations: 0 / 0.5881 GB, free: 5.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4637, allocations: 0 / 0.5881 GB, free: 5.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004427/0.4641, allocations: 0 / 0.5881 GB, free: 5.773 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.02101/0.4851, allocations: 7.906 MB / 0.5958 GB, free: 13.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.4852, allocations: 8.031 kB / 0.5958 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.5011, allocations: 3.163 MB / 0.5989 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.5121, allocations: 4.988 MB / 0.6038 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.5124, allocations: 373.9 kB / 0.6041 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.5137, allocations: 0.4998 MB / 0.6046 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02365/0.5373, allocations: 14.85 MB / 0.6191 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.5375, allocations: 75.39 kB / 0.6192 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005724/0.5381, allocations: 231.8 kB / 0.6194 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004538/0.5426, allocations: 2.727 MB / 0.6221 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/0.5656, allocations: 12.3 MB / 0.6341 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06931/0.635, allocations: 57.23 MB / 0.69 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.6473, allocations: 4.655 MB / 0.6945 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003764/0.6511, allocations: 2.901 MB / 0.6974 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.6513, allocations: 48.66 kB / 0.6974 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.6513, allocations: 63.42 kB / 0.6975 GB, free: 2.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.959e-06/0.6513, allocations: 0 / 0.6975 GB, free: 2.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=204): time 0.3626/1.014, allocations: 23.74 MB / 0.7207 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/1.014, allocations: 255.2 kB / 0.7209 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.025, allocations: 6.743 MB / 0.7275 GB, free: 164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005036/1.025, allocations: 56.98 kB / 0.7275 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003049/1.029, allocations: 4.788 MB / 0.7322 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.03, allocations: 0.8514 MB / 0.733 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/1.032, allocations: 1.696 MB / 0.7347 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.777e-05/1.032, allocations: 308.7 kB / 0.735 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004659/1.037, allocations: 2.902 MB / 0.7378 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005845/1.043, allocations: 7.865 MB / 0.7455 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009867/1.052, allocations: 11.52 MB / 0.7568 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/1.053, allocations: 49.38 kB / 0.7568 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.01819/1.071, allocations: 12.02 MB / 0.7685 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.131e-05/1.071, allocations: 83.94 kB / 0.7686 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/1.071, allocations: 176 kB / 0.7688 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/1.075, allocations: 1.778 MB / 0.7705 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/1.08, allocations: 1.848 MB / 0.7723 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.092, allocations: 12.63 MB / 0.7847 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006971/1.099, allocations: 452.3 kB / 0.7851 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.1, allocations: 496 kB / 0.7856 GB, free: 113.6 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.004745/1.105, allocations: 3.054 MB / 0.7885 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.106, allocations: 0.5704 MB / 0.7891 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00794/1.114, allocations: 4.869 MB / 0.7939 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/1.114, allocations: 11.91 kB / 0.7939 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.114, allocations: 3.984 kB / 0.7939 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.116, allocations: 0.6378 MB / 0.7945 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008763/1.117, allocations: 32 kB / 0.7945 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.119, allocations: 143.8 kB / 0.7947 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/1.12, allocations: 149.2 kB / 0.7948 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008383/1.128, allocations: 5.339 MB / 0.8 GB, free: 98.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007264/1.135, allocations: 6.558 MB / 0.8064 GB, free: 92.29 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001642/1.137, allocations: 1.66 MB / 0.808 GB, free: 90.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00625/1.143, allocations: 4.285 MB / 0.8122 GB, free: 86.36 MB / 0.5606 GB Notification: Performance of Backend: time 1.192e-06/1.143, allocations: 0 / 0.8122 GB, free: 86.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.155, allocations: 5.907 MB / 0.818 GB, free: 80.48 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02463/1.18, allocations: 14.36 MB / 0.832 GB, free: 66.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.1067/1.287, allocations: 66.44 MB / 0.8969 GB, free: 15.99 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