Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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 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 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 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.FrameTorques2,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_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 100.8 kB / 17.08 MB, free: 5.988 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.001258/0.001258, allocations: 199.3 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1989/0.1989, allocations: 43.51 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 71.88 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.0193/0.1287, allocations: 20.86 MB / 0.509 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.1409, allocations: 6.074 MB / 0.5149 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.144, allocations: 143.6 kB / 0.515 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01125/0.1553, allocations: 6.401 MB / 0.5213 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008385/0.1637, allocations: 3.334 MB / 0.5245 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.1674, allocations: 1.587 MB / 0.5261 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2412/0.4086, allocations: 9.803 MB / 0.5357 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.4214, allocations: 8.345 MB / 0.5438 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/0.4276, allocations: 3.451 MB / 0.5472 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008251/0.4359, allocations: 4.767 MB / 0.5518 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003845/0.4398, allocations: 0.7792 MB / 0.5526 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006246/0.4461, allocations: 1.773 MB / 0.5543 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00643/0.4525, allocations: 4.358 MB / 0.5586 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008574/0.4611, allocations: 4.827 MB / 0.5633 GB, free: 144 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.4799, allocations: 15 MB / 0.5779 GB, free: 7.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4799, allocations: 0 / 0.5779 GB, free: 7.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4799, allocations: 0 / 0.5779 GB, free: 7.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005018/0.4804, allocations: 3.594 kB / 0.5779 GB, free: 7.77 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.02646/0.5069, allocations: 10.08 MB / 0.5878 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.507, allocations: 11.89 kB / 0.5878 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/0.5261, allocations: 3.73 MB / 0.5914 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/0.5409, allocations: 6.668 MB / 0.598 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004515/0.5414, allocations: 0.4908 MB / 0.5984 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/0.5439, allocations: 0.6698 MB / 0.5991 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0365/0.5804, allocations: 19.91 MB / 0.6185 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004034/0.5809, allocations: 88.89 kB / 0.6186 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001992/0.5829, allocations: 310.3 kB / 0.6189 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006322/0.5892, allocations: 3.606 MB / 0.6224 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03777/0.627, allocations: 16.75 MB / 0.6388 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/0.7289, allocations: 72.74 MB / 0.7098 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02121/0.7501, allocations: 8.502 MB / 0.7181 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006257/0.7564, allocations: 4.554 MB / 0.7226 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007986/0.7572, allocations: 0.6637 MB / 0.7232 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/0.7573, allocations: 68.53 kB / 0.7233 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=311): time 7.003e-06/0.7573, allocations: 0 / 0.7233 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=335): time 0.3212/1.079, allocations: 35.74 MB / 0.7582 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/1.079, allocations: 295.9 kB / 0.7585 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01756/1.096, allocations: 7.822 MB / 0.7661 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009092/1.097, allocations: 74.38 kB / 0.7662 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005483/1.103, allocations: 5.74 MB / 0.7718 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.105, allocations: 1.279 MB / 0.773 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005723/1.111, allocations: 2.084 MB / 0.7751 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/1.111, allocations: 306 kB / 0.7754 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007005/1.118, allocations: 4.121 MB / 0.7794 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009127/1.127, allocations: 9.846 MB / 0.789 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.141, allocations: 14.9 MB / 0.8036 GB, free: 168 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.141, allocations: 57.22 kB / 0.8036 GB, free: 168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02454/1.165, allocations: 15.82 MB / 0.8191 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/1.166, allocations: 94.41 kB / 0.8191 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002902/1.166, allocations: 198.1 kB / 0.8193 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/1.171, allocations: 2.327 MB / 0.8216 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007066/1.178, allocations: 2.35 MB / 0.8239 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/1.194, allocations: 16.74 MB / 0.8403 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/1.202, allocations: 0.5811 MB / 0.8408 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.204, allocations: 0.5859 MB / 0.8414 GB, free: 144.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (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.006762/1.21, allocations: 3.881 MB / 0.8452 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/1.212, allocations: 0.6677 MB / 0.8458 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.225, allocations: 7.99 MB / 0.8536 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/1.225, allocations: 19.94 kB / 0.8537 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.225, allocations: 3.938 kB / 0.8537 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002986/1.228, allocations: 1.273 MB / 0.8549 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/1.23, allocations: 56.75 kB / 0.855 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/1.233, allocations: 243.5 kB / 0.8552 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005606/1.234, allocations: 226.2 kB / 0.8554 GB, free: 130.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01265/1.246, allocations: 8.192 MB / 0.8634 GB, free: 121.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01111/1.257, allocations: 10.51 MB / 0.8737 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002768/1.26, allocations: 2.846 MB / 0.8764 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007909/1.268, allocations: 4.984 MB / 0.8813 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of Backend: time 5.21e-07/1.268, allocations: 0 / 0.8813 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01605/1.284, allocations: 7.887 MB / 0.889 GB, free: 95.72 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03248/1.317, allocations: 18.17 MB / 0.9068 GB, free: 77.54 MB / 0.5919 GB Notification: Performance of Templates: time 0.3839/1.701, allocations: 92.03 MB / 0.9966 GB, free: 187.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches