Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007235/0.0007236, allocations: 91.78 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3255/0.3255, allocations: 43.57 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 15.94 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.2742/0.3953, allocations: 102.9 MB / 0.5792 GB, free: 9.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05124/0.4466, allocations: 20.45 MB / 0.5992 GB, free: 9.668 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02401/0.4706, allocations: 482.9 kB / 0.5996 GB, free: 9.195 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01813/0.4888, allocations: 5.432 MB / 0.605 GB, free: 4.965 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04485/0.5337, allocations: 15.69 MB / 0.6203 GB, free: 5.219 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00674/0.5404, allocations: 1.081 MB / 0.6213 GB, free: 4.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0617/0.6022, allocations: 51.91 MB / 0.672 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2664/0.8686, allocations: 8.114 MB / 0.68 GB, free: 49.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006444/0.8751, allocations: 2.329 MB / 0.6822 GB, free: 49.4 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006772/0.8819, allocations: 3.788 MB / 0.6859 GB, free: 49.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002016/0.884, allocations: 274.4 kB / 0.6862 GB, free: 49.39 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.8878, allocations: 1.033 MB / 0.6872 GB, free: 49.39 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004732/0.8926, allocations: 3.282 MB / 0.6904 GB, free: 49.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003569/0.8962, allocations: 1.531 MB / 0.6919 GB, free: 49.36 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.9097, allocations: 10.22 MB / 0.7019 GB, free: 48.67 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.9097, allocations: 0 / 0.7019 GB, free: 48.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.9098, allocations: 0 / 0.7019 GB, free: 48.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006569/0.9104, allocations: 0.7812 kB / 0.7019 GB, free: 48.67 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02233/0.9328, allocations: 7.394 MB / 0.7091 GB, free: 44.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.9328, allocations: 8.531 kB / 0.7091 GB, free: 44.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01844/0.9513, allocations: 3.366 MB / 0.7124 GB, free: 43.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.9654, allocations: 5.363 MB / 0.7176 GB, free: 41.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006078/0.9661, allocations: 443.5 kB / 0.7181 GB, free: 41.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004548/0.9706, allocations: 0.5741 MB / 0.7186 GB, free: 41.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04004/1.011, allocations: 17.77 MB / 0.736 GB, free: 32.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003989/1.011, allocations: 79.61 kB / 0.7361 GB, free: 32.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002821/1.014, allocations: 276.6 kB / 0.7363 GB, free: 32.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005662/1.02, allocations: 3.422 MB / 0.7397 GB, free: 29.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0293/1.049, allocations: 14.86 MB / 0.7542 GB, free: 18.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09313/1.142, allocations: 69.01 MB / 0.8216 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/1.16, allocations: 7.371 MB / 0.8288 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006728/1.166, allocations: 4.42 MB / 0.8331 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/1.167, allocations: 68.67 kB / 0.8331 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/1.167, allocations: 64.69 kB / 0.8332 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=307): time 6.923e-06/1.167, allocations: 0 / 0.8332 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=340): time 0.08956/1.256, allocations: 35.25 MB / 0.8676 GB, free: 13.53 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/1.257, allocations: 295.6 kB / 0.8679 GB, free: 13.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/1.271, allocations: 7.43 MB / 0.8752 GB, free: 5.777 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/1.272, allocations: 73.64 kB / 0.8752 GB, free: 5.699 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005408/1.278, allocations: 5.286 MB / 0.8804 GB, free: 452 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.2862/1.564, allocations: 1.282 MB / 0.8817 GB, free: 220.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/1.566, allocations: 200 kB / 0.8818 GB, free: 220.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0007013/1.566, allocations: 0.7254 MB / 0.8826 GB, free: 220.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008717/1.575, allocations: 4.113 MB / 0.8866 GB, free: 220.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01248/1.587, allocations: 9.758 MB / 0.8961 GB, free: 213 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.6, allocations: 6.181 MB / 0.9021 GB, free: 210.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/1.6, allocations: 57.16 kB / 0.9022 GB, free: 210.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.0289/1.629, allocations: 15.69 MB / 0.9175 GB, free: 205.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002301/1.629, allocations: 92.67 kB / 0.9176 GB, free: 205.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005123/1.63, allocations: 196.5 kB / 0.9178 GB, free: 205.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/1.636, allocations: 2.343 MB / 0.9201 GB, free: 204.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008938/1.645, allocations: 2.364 MB / 0.9224 GB, free: 204.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/1.662, allocations: 14.51 MB / 0.9366 GB, free: 196.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/1.673, allocations: 0.5699 MB / 0.9371 GB, free: 196.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002578/1.676, allocations: 0.5766 MB / 0.9377 GB, free: 196.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (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 (1226): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(1,100.0%) 14,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01348/1.689, allocations: 3.594 MB / 0.9412 GB, free: 194.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002863/1.692, allocations: 0.6301 MB / 0.9418 GB, free: 194.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.709, allocations: 8.115 MB / 0.9497 GB, free: 189.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.866e-05/1.709, allocations: 40.73 kB / 0.9498 GB, free: 189.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.051e-05/1.709, allocations: 8 kB / 0.9498 GB, free: 189.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-05/1.709, allocations: 17.12 kB / 0.9498 GB, free: 189.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04403/1.753, allocations: 17.12 MB / 0.9665 GB, free: 175.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/1.753, allocations: 8.953 kB / 0.9665 GB, free: 175.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003575/1.757, allocations: 0.6253 MB / 0.9671 GB, free: 175.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005742/1.763, allocations: 2.008 MB / 0.9691 GB, free: 173.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001215/1.764, allocations: 59.8 kB / 0.9691 GB, free: 173.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/1.78, allocations: 13.54 MB / 0.9824 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.781, allocations: 0 / 0.9824 GB, free: 161.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02357/1.804, allocations: 12.92 MB / 0.995 GB, free: 148.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004923/1.809, allocations: 1.277 MB / 0.9962 GB, free: 147.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003429/1.813, allocations: 66.81 kB / 0.9963 GB, free: 147.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005482/1.818, allocations: 237.1 kB / 0.9965 GB, free: 147.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/1.819, allocations: 199.4 kB / 0.9967 GB, free: 147.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008508/1.82, allocations: 90.42 kB / 0.9968 GB, free: 147 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.009512/1.83, allocations: 4.712 MB / 1.001 GB, free: 142.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.142e-06/1.83, allocations: 0 / 1.001 GB, free: 142.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01475/1.844, allocations: 1.902 MB / 1.003 GB, free: 140.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002136/1.847, allocations: 197.1 kB / 1.003 GB, free: 140.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02017/1.867, allocations: 10.12 MB / 1.013 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.867, allocations: 0 / 1.013 GB, free: 130.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006564/1.874, allocations: 3.88 MB / 1.017 GB, free: 126.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00862/1.882, allocations: 0.8337 MB / 1.018 GB, free: 125.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/1.925, allocations: 21.39 MB / 1.039 GB, free: 103.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009946/1.935, allocations: 5.402 MB / 1.044 GB, free: 98.49 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/1.938, allocations: 0.5072 MB / 1.045 GB, free: 97.98 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/1.938, allocations: 0 / 1.045 GB, free: 97.98 MB / 0.573 GB Notification: Performance of Templates: time 0.5346/2.473, allocations: 205.7 MB / 1.245 GB, free: 120.8 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches