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.002131/0.00213, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 88.02 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2987/0.2987, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.134e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4097, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.6112, allocations: 106.1 MB / 0.5695 GB, free: 9.164 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.6116, allocations: 71.97 kB / 0.5696 GB, free: 9.094 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.845/1.457, allocations: 109 MB / 0.6761 GB, free: 106.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.056e-06/1.457, allocations: 0 / 0.6761 GB, free: 106.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000384/1.457, allocations: 105.5 kB / 0.6762 GB, free: 106.3 MB / 475.1 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.0224/1.479, allocations: 5.337 MB / 0.6814 GB, free: 104.1 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.48, allocations: 11.5 kB / 0.6814 GB, free: 104.1 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05057/1.53, allocations: 6.93 MB / 0.6881 GB, free: 103.6 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02609/1.556, allocations: 6.797 MB / 0.6948 GB, free: 101.2 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/1.557, allocations: 173.3 kB / 0.6949 GB, free: 101.2 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002963/1.56, allocations: 327.3 kB / 0.6953 GB, free: 101.2 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01876/1.578, allocations: 7.233 MB / 0.7023 GB, free: 98.69 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/1.607, allocations: 11.4 MB / 0.7135 GB, free: 91.84 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003351/1.608, allocations: 82.94 kB / 0.7135 GB, free: 91.76 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002105/1.61, allocations: 36 kB / 0.7136 GB, free: 91.72 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002719/1.612, allocations: 1.205 MB / 0.7147 GB, free: 90.59 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08149/1.694, allocations: 56.27 MB / 0.7697 GB, free: 33.02 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006215/1.7, allocations: 3.45 MB / 0.7731 GB, free: 29.42 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003926/1.704, allocations: 2.108 MB / 0.7751 GB, free: 27.3 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/1.705, allocations: 33.05 kB / 0.7752 GB, free: 27.28 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.705, allocations: 43.88 kB / 0.7752 GB, free: 27.23 MB / 475.1 MB Notification: Performance of pre-optimization done (n=183): time 5.761e-06/1.705, allocations: 0 / 0.7752 GB, free: 27.23 MB / 475.1 MB Notification: Performance of matching and sorting (n=197): time 0.05277/1.757, allocations: 17.33 MB / 0.7921 GB, free: 9.812 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/1.757, allocations: 201.2 kB / 0.7923 GB, free: 9.574 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.768, allocations: 4.079 MB / 0.7963 GB, free: 5.5 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004871/1.768, allocations: 25.7 kB / 0.7963 GB, free: 5.469 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.771, allocations: 3.98 MB / 0.8002 GB, free: 1.434 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.773, allocations: 0.7599 MB / 0.801 GB, free: 0.6641 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008069/1.774, allocations: 0 / 0.801 GB, free: 0.6641 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004582/1.774, allocations: 0.6169 MB / 0.8016 GB, free: 40 kB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006079/1.78, allocations: 2.162 MB / 0.8037 GB, free: 13.88 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/1.791, allocations: 6.72 MB / 0.8102 GB, free: 4.859 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009706/1.801, allocations: 3.776 MB / 0.8139 GB, free: 1.074 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/1.801, allocations: 48 kB / 0.814 GB, free: 1.027 MB / 491.1 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.02559/1.827, allocations: 8.099 MB / 0.8219 GB, free: 8.918 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/1.827, allocations: 73.41 kB / 0.8219 GB, free: 8.848 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002772/1.828, allocations: 164 kB / 0.8221 GB, free: 8.688 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/1.83, allocations: 0.5962 MB / 0.8227 GB, free: 8.086 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/1.841, allocations: 1.691 MB / 0.8243 GB, free: 6.395 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/1.851, allocations: 5.411 MB / 0.8296 GB, free: 0.7617 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007924/1.859, allocations: 247.2 kB / 0.8298 GB, free: 0.5195 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/1.861, allocations: 456 kB / 0.8303 GB, free: 76 kB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 747 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (909): * Single equations (assignments): 904 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3667/2.228, allocations: 0.5027 MB / 0.8308 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/2.229, allocations: 422.3 kB / 0.8312 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009507/2.239, allocations: 2.935 MB / 0.834 GB, free: 118.3 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.946e-05/2.239, allocations: 26.16 kB / 0.8341 GB, free: 118.3 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/2.239, allocations: 3.906 kB / 0.8341 GB, free: 118.3 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.831e-05/2.239, allocations: 11.22 kB / 0.8341 GB, free: 118.3 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/2.267, allocations: 7.323 MB / 0.8412 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/2.267, allocations: 2.594 kB / 0.8412 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003242/2.27, allocations: 295.5 kB / 0.8415 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/2.272, allocations: 338.8 kB / 0.8418 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005198/2.273, allocations: 9.875 kB / 0.8419 GB, free: 117.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008458/2.281, allocations: 4.728 MB / 0.8465 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/2.281, allocations: 1.844 kB / 0.8465 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/2.295, allocations: 5.53 MB / 0.8519 GB, free: 114.5 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003142/2.299, allocations: 0.7076 MB / 0.8526 GB, free: 114.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/2.3, allocations: 2.688 kB / 0.8526 GB, free: 114.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003822/2.304, allocations: 65.88 kB / 0.8526 GB, free: 114.4 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007409/2.305, allocations: 112 kB / 0.8527 GB, free: 114.4 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/2.305, allocations: 55.52 kB / 0.8528 GB, free: 114.4 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008949/2.314, allocations: 2.757 MB / 0.8555 GB, free: 113.6 MB / 0.4952 GB Notification: Performance of sort global known variables: time 6.51e-07/2.314, allocations: 0 / 0.8555 GB, free: 113.6 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.009314/2.324, allocations: 1.033 MB / 0.8565 GB, free: 113.6 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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.001037/2.325, allocations: 148.2 kB / 0.8566 GB, free: 113.6 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0127/2.337, allocations: 5.334 MB / 0.8618 GB, free: 111.8 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/2.337, allocations: 3.656 kB / 0.8618 GB, free: 111.8 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.003665/2.341, allocations: 1.65 MB / 0.8635 GB, free: 111.1 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/2.345, allocations: 493.3 kB / 0.8639 GB, free: 110.9 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/2.374, allocations: 9.842 MB / 0.8735 GB, free: 107.3 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009551/2.384, allocations: 4.145 MB / 0.8776 GB, free: 105.8 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/2.386, allocations: 345.7 kB / 0.8779 GB, free: 105.8 MB / 0.4952 GB Notification: Performance of SimCode: time 1.603e-06/2.386, allocations: 2.656 kB / 0.8779 GB, free: 105.8 MB / 0.4952 GB Notification: Performance of Templates: time 0.203/2.589, allocations: 111.5 MB / 0.9868 GB, free: 20.98 MB / 0.4952 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/jenkins1/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