Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 113.8 kB / 18.46 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.001209/0.001209, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.377/1.377, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2038/0.2038, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3267, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.01712/0.3439, allocations: 16.72 MB / 0.5359 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3551, allocations: 5.298 MB / 0.5411 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.3579, allocations: 114.6 kB / 0.5412 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009711/0.3677, allocations: 5.563 MB / 0.5466 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007496/0.3753, allocations: 2.806 MB / 0.5494 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.378, allocations: 1.189 MB / 0.5505 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0119/0.3899, allocations: 8.259 MB / 0.5586 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00951/0.3994, allocations: 6.979 MB / 0.5654 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006255/0.4057, allocations: 2.753 MB / 0.5681 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00529/0.411, allocations: 3.735 MB / 0.5717 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001854/0.4129, allocations: 0.5898 MB / 0.5723 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.4166, allocations: 1.479 MB / 0.5738 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004113/0.4208, allocations: 3.484 MB / 0.5772 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006327/0.4271, allocations: 3.865 MB / 0.5809 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01762/0.4448, allocations: 11.96 MB / 0.5926 GB, free: 1.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.4448, allocations: 3.938 kB / 0.5926 GB, free: 1.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4448, allocations: 0 / 0.5926 GB, free: 1.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004954/0.4453, allocations: 0 / 0.5926 GB, free: 1.125 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02531/0.4707, allocations: 8.267 MB / 0.6007 GB, free: 8.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4707, allocations: 8.031 kB / 0.6007 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.4869, allocations: 3.189 MB / 0.6038 GB, free: 5.559 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.5, allocations: 5.181 MB / 0.6089 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/0.5005, allocations: 402.9 kB / 0.6093 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002334/0.5028, allocations: 0.5387 MB / 0.6098 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03388/0.5367, allocations: 16.12 MB / 0.6255 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002533/0.537, allocations: 79.3 kB / 0.6256 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009459/0.538, allocations: 251.8 kB / 0.6258 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005492/0.5435, allocations: 3.052 MB / 0.6288 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02535/0.5688, allocations: 13.41 MB / 0.6419 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08048/0.6494, allocations: 63.24 MB / 0.7037 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.6643, allocations: 5.657 MB / 0.7092 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004475/0.6688, allocations: 3.795 MB / 0.7129 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.669, allocations: 48.88 kB / 0.713 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.669, allocations: 55.56 kB / 0.713 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=229): time 5.33e-06/0.669, allocations: 0 / 0.713 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262): time 0.5433/1.212, allocations: 31.64 MB / 0.7439 GB, free: 157.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/1.212, allocations: 289.4 kB / 0.7442 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007672/1.22, allocations: 7.139 MB / 0.7512 GB, free: 152.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005468/1.221, allocations: 69.53 kB / 0.7512 GB, free: 152.9 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002056/1.223, allocations: 4.904 MB / 0.756 GB, free: 148 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009184/1.224, allocations: 1.033 MB / 0.757 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/1.225, allocations: 1.848 MB / 0.7588 GB, free: 145.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.825e-05/1.226, allocations: 305.1 kB / 0.7591 GB, free: 144.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003692/1.229, allocations: 3.539 MB / 0.7626 GB, free: 141.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006099/1.235, allocations: 8.814 MB / 0.7712 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.247, allocations: 13.22 MB / 0.7841 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/1.247, allocations: 56 kB / 0.7841 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.02151/1.268, allocations: 14.1 MB / 0.7979 GB, free: 99.94 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/1.269, allocations: 87.98 kB / 0.798 GB, free: 99.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/1.269, allocations: 184 kB / 0.7982 GB, free: 99.68 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005037/1.274, allocations: 2.305 MB / 0.8004 GB, free: 97.36 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006019/1.28, allocations: 2.086 MB / 0.8025 GB, free: 95.27 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/1.294, allocations: 15.56 MB / 0.8176 GB, free: 79.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/1.301, allocations: 0.5033 MB / 0.8181 GB, free: 78.81 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009366/1.302, allocations: 0.5234 MB / 0.8187 GB, free: 78.29 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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],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],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1094): * Single equations (assignments): 1088 * 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%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004669/1.307, allocations: 3.311 MB / 0.8219 GB, free: 74.97 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/1.309, allocations: 0.5862 MB / 0.8225 GB, free: 74.38 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.319, allocations: 6.72 MB / 0.829 GB, free: 67.63 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/1.319, allocations: 15.95 kB / 0.829 GB, free: 67.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.319, allocations: 4 kB / 0.829 GB, free: 67.61 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.321, allocations: 0.6612 MB / 0.8297 GB, free: 66.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.322, allocations: 40 kB / 0.8297 GB, free: 66.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.324, allocations: 191.7 kB / 0.8299 GB, free: 66.7 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/1.325, allocations: 181.5 kB / 0.8301 GB, free: 66.52 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01136/1.336, allocations: 7.202 MB / 0.8371 GB, free: 59.35 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008894/1.345, allocations: 8.816 MB / 0.8457 GB, free: 50.47 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002423/1.348, allocations: 2.318 MB / 0.848 GB, free: 48.16 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006524/1.354, allocations: 4.54 MB / 0.8524 GB, free: 43.64 MB / 0.5607 GB Notification: Performance of Backend: time 4.9e-07/1.354, allocations: 0 / 0.8524 GB, free: 43.64 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01145/1.366, allocations: 6.851 MB / 0.8591 GB, free: 36.82 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02152/1.387, allocations: 15.4 MB / 0.8741 GB, free: 21.39 MB / 0.5607 GB Notification: Performance of Templates: time 0.4066/1.794, allocations: 77.95 MB / 0.9503 GB, free: 214.4 MB / 0.6232 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches