Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.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.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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001566, allocations: 189 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001179/0.001179, allocations: 90.92 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4148/0.4148, allocations: 43.57 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004764, allocations: 16 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1295, allocations: 58.85 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.5258/0.6553, allocations: 107.8 MB / 0.584 GB, free: 12.36 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06907/0.7245, allocations: 23.74 MB / 0.6071 GB, free: 4.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02518/0.7497, allocations: 0.5222 MB / 0.6077 GB, free: 4.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02039/0.7702, allocations: 5.451 MB / 0.613 GB, free: 14.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05936/0.8296, allocations: 15.29 MB / 0.6279 GB, free: 15.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008927/0.8386, allocations: 1.225 MB / 0.6291 GB, free: 13.99 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1413/0.9799, allocations: 52.53 MB / 0.6804 GB, free: 9.406 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02242/1.002, allocations: 9.966 MB / 0.6901 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/1.008, allocations: 2.161 MB / 0.6922 GB, free: 13.2 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006985/1.015, allocations: 2.999 MB / 0.6952 GB, free: 10.19 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.002459/1.018, allocations: 312 kB / 0.6955 GB, free: 9.883 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004938/1.022, allocations: 1.147 MB / 0.6966 GB, free: 8.734 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.006385/1.029, allocations: 3.476 MB / 0.7 GB, free: 5.25 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.003725/1.033, allocations: 1.731 MB / 0.7017 GB, free: 3.508 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.01998/1.053, allocations: 11.88 MB / 0.7133 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.053, allocations: 4 kB / 0.7133 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.016e-06/1.053, allocations: 0 / 0.7133 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005376/1.053, allocations: 0 / 0.7133 GB, free: 7.59 MB / 0.5105 GB 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.7242/1.778, allocations: 8.861 MB / 0.7219 GB, free: 188.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.778, allocations: 8.688 kB / 0.722 GB, free: 188.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1871/1.965, allocations: 14.29 MB / 0.7359 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02205/1.987, allocations: 7.167 MB / 0.7429 GB, free: 181.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006151/1.987, allocations: 0.4948 MB / 0.7434 GB, free: 181.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003238/1.991, allocations: 0.6612 MB / 0.744 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.054/2.045, allocations: 19.84 MB / 0.7634 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004695/2.045, allocations: 87.16 kB / 0.7635 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/2.048, allocations: 311.5 kB / 0.7638 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01011/2.058, allocations: 3.615 MB / 0.7673 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05027/2.108, allocations: 16.44 MB / 0.7834 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/2.234, allocations: 72.47 MB / 0.8541 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03463/2.269, allocations: 8.288 MB / 0.8622 GB, free: 57.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/2.27, allocations: 0.6594 MB / 0.8629 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/2.27, allocations: 72.86 kB / 0.863 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 7.063e-06/2.27, allocations: 0 / 0.863 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.1413/2.412, allocations: 32.41 MB / 0.8946 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/2.412, allocations: 299.7 kB / 0.8949 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01757/2.429, allocations: 8.3 MB / 0.903 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009231/2.43, allocations: 77.7 kB / 0.9031 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004905/2.435, allocations: 5.525 MB / 0.9085 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002155/2.438, allocations: 1.267 MB / 0.9097 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/2.439, allocations: 196 kB / 0.9099 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000722/2.44, allocations: 0.7158 MB / 0.9106 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009965/2.45, allocations: 3.655 MB / 0.9142 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3768/2.826, allocations: 9.287 MB / 0.9232 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/2.842, allocations: 5.679 MB / 0.9288 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004575/2.842, allocations: 58.38 kB / 0.9288 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.04131/2.883, allocations: 13.44 MB / 0.942 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000246/2.884, allocations: 89.75 kB / 0.942 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003801/2.884, allocations: 199.4 kB / 0.9422 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/2.89, allocations: 1.339 MB / 0.9435 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/2.904, allocations: 2.245 MB / 0.9457 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/2.926, allocations: 12.92 MB / 0.9583 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/2.938, allocations: 0.5426 MB / 0.9589 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002367/2.941, allocations: 0.5652 MB / 0.9594 GB, free: 147 MB / 0.5105 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 (1174): * Single equations (assignments): 1167 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01065/2.951, allocations: 3.883 MB / 0.9632 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001909/2.953, allocations: 0.681 MB / 0.9639 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01939/2.973, allocations: 6.495 MB / 0.9702 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.894e-05/2.973, allocations: 40.7 kB / 0.9703 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/2.973, allocations: 11.95 kB / 0.9703 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-05/2.973, allocations: 19.23 kB / 0.9703 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04664/3.02, allocations: 15.93 MB / 0.9858 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.815e-05/3.02, allocations: 0 / 0.9858 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005771/3.026, allocations: 0.5656 MB / 0.9864 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004678/3.03, allocations: 0.9863 MB / 0.9874 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000849/3.031, allocations: 59.98 kB / 0.9874 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/3.05, allocations: 11.79 MB / 0.9989 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/3.05, allocations: 7.938 kB / 0.9989 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/3.076, allocations: 10.85 MB / 1.01 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004793/3.081, allocations: 1.253 MB / 1.011 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002305/3.083, allocations: 55.94 kB / 1.011 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006257/3.09, allocations: 216.9 kB / 1.011 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/3.091, allocations: 194.3 kB / 1.011 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004238/3.091, allocations: 84 kB / 1.011 GB, free: 101 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0122/3.104, allocations: 5.387 MB / 1.017 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/3.104, allocations: 0 / 1.017 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01244/3.116, allocations: 1.921 MB / 1.018 GB, free: 93.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/3.118, allocations: 216.5 kB / 1.019 GB, free: 93.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02151/3.139, allocations: 9.225 MB / 1.028 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/3.139, allocations: 4 kB / 1.028 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007791/3.147, allocations: 3.389 MB / 1.031 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007725/3.155, allocations: 0.9257 MB / 1.032 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05041/3.205, allocations: 22.56 MB / 1.054 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/3.218, allocations: 6.123 MB / 1.06 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003501/3.222, allocations: 0.5345 MB / 1.06 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of SimCode: time 2.956e-06/3.222, allocations: 0 / 1.06 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.7889/4.011, allocations: 246.6 MB / 1.301 GB, free: 4.094 MB / 0.5418 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches