Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 175 kB / 16.72 MB, free: 5.082 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.301/1.301, allocations: 205.4 MB / 222.9 MB, free: 9.043 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.0007125/0.0007126, allocations: 92.97 kB / 271.2 MB, free: 8.254 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.3025/0.3025, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2305/0.3313, allocations: 66.44 MB / 0.5442 GB, free: 3.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02975/0.3611, allocations: 13.8 MB / 0.5577 GB, free: 9.734 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0157/0.3768, allocations: 312.1 kB / 0.558 GB, free: 9.688 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01191/0.3888, allocations: 3.496 MB / 0.5614 GB, free: 8.449 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03004/0.4189, allocations: 10.33 MB / 0.5715 GB, free: 3.996 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005116/0.424, allocations: 0.8418 MB / 0.5723 GB, free: 3.461 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04186/0.4659, allocations: 35.04 MB / 0.6065 GB, free: 3.844 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009217/0.4752, allocations: 5.999 MB / 0.6124 GB, free: 13.78 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.4786, allocations: 1.693 MB / 0.614 GB, free: 12.08 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.4824, allocations: 2.633 MB / 0.6166 GB, free: 9.438 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.4835, allocations: 184 kB / 0.6168 GB, free: 9.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.4864, allocations: 1.287 MB / 0.618 GB, free: 7.969 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002615/0.489, allocations: 2.31 MB / 0.6203 GB, free: 5.652 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.4921, allocations: 2.468 MB / 0.6227 GB, free: 3.164 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006368/0.4985, allocations: 7.201 MB / 0.6297 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4985, allocations: 0 / 0.6297 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4986, allocations: 4 kB / 0.6297 GB, free: 11.94 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001772/0.4987, allocations: 0 / 0.6297 GB, free: 11.94 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.009628/0.5084, allocations: 5.243 MB / 0.6349 GB, free: 6.625 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5084, allocations: 12.03 kB / 0.6349 GB, free: 6.613 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.5192, allocations: 2.696 MB / 0.6375 GB, free: 3.906 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007688/0.5269, allocations: 3.961 MB / 0.6414 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.5272, allocations: 299.9 kB / 0.6417 GB, free: 15.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.5282, allocations: 403.6 kB / 0.642 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01941/0.5476, allocations: 12.6 MB / 0.6543 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.5478, allocations: 59.53 kB / 0.6544 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/0.5483, allocations: 191.8 kB / 0.6546 GB, free: 1.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003535/0.5519, allocations: 2.405 MB / 0.6569 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.5712, allocations: 10.5 MB / 0.6672 GB, free: 4.555 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2319/0.8032, allocations: 48.84 MB / 0.7149 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009889/0.8131, allocations: 4.796 MB / 0.7196 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.816, allocations: 2.428 MB / 0.7219 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.8266, allocations: 7.17 MB / 0.7289 GB, free: 99.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.8267, allocations: 54.56 kB / 0.729 GB, free: 99.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 5.881e-06/0.8267, allocations: 3.984 kB / 0.729 GB, free: 99.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.04332/0.8701, allocations: 17.96 MB / 0.7465 GB, free: 92.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.8702, allocations: 199.5 kB / 0.7467 GB, free: 92.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008146/0.8784, allocations: 5.807 MB / 0.7524 GB, free: 90 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004718/0.8789, allocations: 53.08 kB / 0.7525 GB, free: 89.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002434/0.8813, allocations: 3.947 MB / 0.7563 GB, free: 86.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009804/0.8823, allocations: 0.7713 MB / 0.7571 GB, free: 85.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003843/0.8827, allocations: 139.9 kB / 0.7572 GB, free: 85.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002981/0.883, allocations: 0.6241 MB / 0.7578 GB, free: 85.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.8863, allocations: 2.569 MB / 0.7603 GB, free: 83.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.8907, allocations: 7.014 MB / 0.7672 GB, free: 74.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008348/0.8991, allocations: 10.29 MB / 0.7772 GB, free: 62.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.59e-05/0.8992, allocations: 44 kB / 0.7773 GB, free: 61.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01548/0.9147, allocations: 10.35 MB / 0.7874 GB, free: 51.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.9148, allocations: 72 kB / 0.7874 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.915, allocations: 159.9 kB / 0.7876 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.9176, allocations: 1.218 MB / 0.7888 GB, free: 50.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/0.9224, allocations: 1.704 MB / 0.7904 GB, free: 48.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007275/0.9297, allocations: 7.758 MB / 0.798 GB, free: 40.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005439/0.9352, allocations: 414.7 kB / 0.7984 GB, free: 40.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.9363, allocations: 444 kB / 0.7988 GB, free: 39.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00421/0.9405, allocations: 2.627 MB / 0.8014 GB, free: 37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009894/0.9415, allocations: 481.7 kB / 0.8019 GB, free: 36.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006628/0.9481, allocations: 3.965 MB / 0.8057 GB, free: 32.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/0.9482, allocations: 24 kB / 0.8058 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.9482, allocations: 4 kB / 0.8058 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.9482, allocations: 7.969 kB / 0.8058 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.9646, allocations: 9.295 MB / 0.8148 GB, free: 23.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.9647, allocations: 288 / 0.8148 GB, free: 23.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.9663, allocations: 371.4 kB / 0.8152 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/0.9686, allocations: 0.9833 MB / 0.8162 GB, free: 21.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.9687, allocations: 35.98 kB / 0.8162 GB, free: 21.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006388/0.9751, allocations: 7.101 MB / 0.8231 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9752, allocations: 4 kB / 0.8231 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007998/0.9832, allocations: 6.723 MB / 0.8297 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/0.9851, allocations: 0.8422 MB / 0.8305 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/0.9857, allocations: 32 kB / 0.8305 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.9872, allocations: 121.4 kB / 0.8307 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.9875, allocations: 117.1 kB / 0.8308 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.9877, allocations: 52 kB / 0.8308 GB, free: 6.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004406/0.9921, allocations: 3.698 MB / 0.8344 GB, free: 2.746 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9921, allocations: 0 / 0.8344 GB, free: 2.746 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004861/0.997, allocations: 1.272 MB / 0.8357 GB, free: 1.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003498/0.9973, allocations: 172.5 kB / 0.8358 GB, free: 1.309 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008607/1.006, allocations: 6.196 MB / 0.8419 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.006, allocations: 0 / 0.8419 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/1.008, allocations: 1.879 MB / 0.8437 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/1.014, allocations: 0.5886 MB / 0.8443 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/1.036, allocations: 14.27 MB / 0.8582 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/1.041, allocations: 4.001 MB / 0.8621 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.042, allocations: 367.3 kB / 0.8625 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/1.042, allocations: 4 kB / 0.8625 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of Templates: time 0.315/1.357, allocations: 120.3 MB / 0.98 GB, free: 78.35 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches