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.00158/0.001584, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.224/2.224, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00118/0.001179, allocations: 110.8 kB / 270.9 MB, free: 13.37 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.3117/0.3117, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006502, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1245, allocations: 58.87 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.438/0.5626, allocations: 62.7 MB / 0.54 GB, free: 9.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04751/0.6102, allocations: 14.45 MB / 0.5541 GB, free: 3.785 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01815/0.6284, allocations: 312.6 kB / 0.5544 GB, free: 3.738 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01249/0.641, allocations: 3.154 MB / 0.5575 GB, free: 2.023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04113/0.6822, allocations: 9.054 MB / 0.5663 GB, free: 12.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006226/0.6884, allocations: 0.777 MB / 0.5671 GB, free: 11.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07613/0.7646, allocations: 26.89 MB / 0.5933 GB, free: 2.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/0.7775, allocations: 5.452 MB / 0.5986 GB, free: 13.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.7817, allocations: 1.366 MB / 0.6 GB, free: 11.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.7863, allocations: 1.822 MB / 0.6018 GB, free: 10.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.7879, allocations: 188 kB / 0.6019 GB, free: 9.887 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004589/0.7925, allocations: 1.065 MB / 0.603 GB, free: 8.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004381/0.797, allocations: 2.147 MB / 0.6051 GB, free: 6.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.7998, allocations: 1.084 MB / 0.6061 GB, free: 5.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.8135, allocations: 7.326 MB / 0.6133 GB, free: 14.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8135, allocations: 0 / 0.6133 GB, free: 14.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.8136, allocations: 0 / 0.6133 GB, free: 14.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003518/0.8139, allocations: 4 kB / 0.6133 GB, free: 14.23 MB / 426.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.02206/0.836, allocations: 5.633 MB / 0.6188 GB, free: 8.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.8361, allocations: 12.03 kB / 0.6188 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08779/0.9239, allocations: 8.082 MB / 0.6267 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.9386, allocations: 4.24 MB / 0.6308 GB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.9391, allocations: 299.6 kB / 0.6311 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/0.9411, allocations: 399.6 kB / 0.6315 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03659/0.9777, allocations: 12.58 MB / 0.6438 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002616/0.9781, allocations: 55.52 kB / 0.6438 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.9793, allocations: 195.8 kB / 0.644 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00747/0.9868, allocations: 2.401 MB / 0.6464 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0364/1.023, allocations: 10.39 MB / 0.6565 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0971/1.12, allocations: 48.56 MB / 0.7039 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.141, allocations: 4.688 MB / 0.7085 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02114/1.162, allocations: 6.966 MB / 0.7153 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/1.162, allocations: 43.88 kB / 0.7154 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=181): time 8.466e-06/1.162, allocations: 3.984 kB / 0.7154 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.4175/1.58, allocations: 16.46 MB / 0.7314 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/1.58, allocations: 199.2 kB / 0.7316 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0158/1.596, allocations: 6.071 MB / 0.7376 GB, free: 180.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004839/1.596, allocations: 57.48 kB / 0.7376 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003483/1.6, allocations: 3.803 MB / 0.7413 GB, free: 177.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.601, allocations: 0.7542 MB / 0.7421 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007134/1.602, allocations: 143.8 kB / 0.7422 GB, free: 176.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004764/1.603, allocations: 0.6109 MB / 0.7428 GB, free: 176 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006213/1.609, allocations: 2.356 MB / 0.7451 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009028/1.618, allocations: 6.748 MB / 0.7517 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008797/1.627, allocations: 3.901 MB / 0.7555 GB, free: 167 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/1.627, allocations: 47.84 kB / 0.7555 GB, free: 167 MB / 0.5105 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.02425/1.651, allocations: 9.158 MB / 0.7645 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.651, allocations: 77.55 kB / 0.7646 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002527/1.652, allocations: 156 kB / 0.7647 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/1.655, allocations: 0.7243 MB / 0.7654 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/1.665, allocations: 1.649 MB / 0.767 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.676, allocations: 6.447 MB / 0.7733 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008861/1.685, allocations: 389 kB / 0.7737 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.686, allocations: 441.2 kB / 0.7741 GB, free: 150.6 MB / 0.5105 GB 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 (866): * Single equations (assignments): 859 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007378/1.694, allocations: 2.622 MB / 0.7767 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.695, allocations: 481.7 kB / 0.7771 GB, free: 147.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009452/1.705, allocations: 3.237 MB / 0.7803 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.619e-05/1.705, allocations: 20 kB / 0.7803 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.705, allocations: 8 kB / 0.7803 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.846e-05/1.705, allocations: 7.969 kB / 0.7803 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02578/1.731, allocations: 8.585 MB / 0.7887 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.731, allocations: 12.02 kB / 0.7887 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003492/1.734, allocations: 359.4 kB / 0.7891 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/1.737, allocations: 0.4894 MB / 0.7895 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/1.737, allocations: 35.98 kB / 0.7896 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009533/1.747, allocations: 5.791 MB / 0.7952 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.747, allocations: 7.938 kB / 0.7952 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.761, allocations: 6.266 MB / 0.8014 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003343/1.764, allocations: 0.8266 MB / 0.8022 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/1.766, allocations: 43.92 kB / 0.8022 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004277/1.77, allocations: 95.88 kB / 0.8023 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/1.771, allocations: 118.8 kB / 0.8024 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.771, allocations: 49.27 kB / 0.8025 GB, free: 121 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009954/1.781, allocations: 3.923 MB / 0.8063 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.126e-06/1.781, allocations: 112 / 0.8063 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008804/1.79, allocations: 1.244 MB / 0.8075 GB, free: 115.9 MB / 0.5105 GB 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.001036/1.791, allocations: 191.2 kB / 0.8077 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.804, allocations: 5.76 MB / 0.8133 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.804, allocations: 0 / 0.8133 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00393/1.808, allocations: 1.748 MB / 0.815 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005257/1.814, allocations: 0.5996 MB / 0.8156 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03079/1.844, allocations: 14.07 MB / 0.8294 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007837/1.852, allocations: 4.134 MB / 0.8334 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/1.854, allocations: 375.4 kB / 0.8337 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/1.854, allocations: 0 / 0.8337 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.5688/2.423, allocations: 116.1 MB / 0.9471 GB, free: 152.3 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/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