Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 176.6 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.204/1.204, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007765/0.0007764, allocations: 94.34 kB / 271.2 MB, free: 8.246 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.2958/0.2958, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09969, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2301/0.3298, allocations: 81.77 MB / 0.5592 GB, free: 8.234 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03514/0.365, allocations: 16.44 MB / 0.5752 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01573/0.3808, allocations: 387.8 kB / 0.5756 GB, free: 12.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01346/0.3943, allocations: 4.295 MB / 0.5798 GB, free: 11.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03357/0.4279, allocations: 12.54 MB / 0.592 GB, free: 2.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.4337, allocations: 0.9485 MB / 0.593 GB, free: 1.711 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0433/0.477, allocations: 36.17 MB / 0.6283 GB, free: 13.49 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01048/0.4875, allocations: 7.893 MB / 0.636 GB, free: 5.516 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.4914, allocations: 2.016 MB / 0.638 GB, free: 3.492 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.496, allocations: 3.154 MB / 0.641 GB, free: 336 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.497, allocations: 228 kB / 0.6413 GB, free: 108 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.4999, allocations: 1.166 MB / 0.6424 GB, free: 14.94 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002917/0.5028, allocations: 2.766 MB / 0.6451 GB, free: 12.16 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004197/0.5071, allocations: 2.992 MB / 0.648 GB, free: 9.148 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.5175, allocations: 8.58 MB / 0.6564 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5175, allocations: 0 / 0.6564 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5176, allocations: 0 / 0.6564 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004001/0.518, allocations: 0 / 0.6564 GB, free: 0.5469 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01489/0.5329, allocations: 6.393 MB / 0.6626 GB, free: 10.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5329, allocations: 11.97 kB / 0.6627 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.5452, allocations: 2.87 MB / 0.6655 GB, free: 7.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009257/0.5545, allocations: 4.488 MB / 0.6698 GB, free: 2.602 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.555, allocations: 374.2 kB / 0.6702 GB, free: 2.234 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/0.5568, allocations: 0.4918 MB / 0.6707 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2229/0.7797, allocations: 15.67 MB / 0.686 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.7799, allocations: 68.53 kB / 0.686 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006008/0.7805, allocations: 239.6 kB / 0.6863 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004359/0.7848, allocations: 3.001 MB / 0.6892 GB, free: 135.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.808, allocations: 13.38 MB / 0.7023 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06613/0.8742, allocations: 61.13 MB / 0.762 GB, free: 83.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.89, allocations: 7.631 MB / 0.7694 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.8943, allocations: 4.15 MB / 0.7735 GB, free: 72.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.9089, allocations: 9.84 MB / 0.7831 GB, free: 62.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.909, allocations: 68.55 kB / 0.7831 GB, free: 62.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=273): time 5.44e-06/0.909, allocations: 0 / 0.7831 GB, free: 62.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=315): time 0.07183/0.9808, allocations: 34.3 MB / 0.8166 GB, free: 27.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.981, allocations: 243.9 kB / 0.8169 GB, free: 27.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008063/0.989, allocations: 6.854 MB / 0.8236 GB, free: 20.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008148/0.9899, allocations: 73.7 kB / 0.8236 GB, free: 20.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002165/0.9921, allocations: 4.634 MB / 0.8281 GB, free: 15.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/0.9933, allocations: 1.19 MB / 0.8293 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004666/0.9938, allocations: 180 kB / 0.8295 GB, free: 14.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000335/0.9942, allocations: 0.6985 MB / 0.8302 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004923/0.9991, allocations: 3.867 MB / 0.8339 GB, free: 9.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007135/1.006, allocations: 9.048 MB / 0.8428 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/1.023, allocations: 13.87 MB / 0.8563 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.023, allocations: 52 kB / 0.8564 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.2329/1.256, allocations: 14.73 MB / 0.8708 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.256, allocations: 83.69 kB / 0.8708 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00025/1.257, allocations: 181 kB / 0.871 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00677/1.263, allocations: 2.271 MB / 0.8732 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007909/1.271, allocations: 2.168 MB / 0.8754 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.286, allocations: 13.22 MB / 0.8883 GB, free: 142.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006707/1.293, allocations: 0.5415 MB / 0.8888 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.294, allocations: 0.5323 MB / 0.8893 GB, free: 142.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1120): * Single equations (assignments): 1113 * 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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005582/1.3, allocations: 3.153 MB / 0.8924 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.301, allocations: 0.5806 MB / 0.893 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.313, allocations: 7.753 MB / 0.9005 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.791e-05/1.313, allocations: 34.91 kB / 0.9006 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/1.313, allocations: 9.469 kB / 0.9006 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.735e-05/1.313, allocations: 13.59 kB / 0.9006 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.341, allocations: 16.24 MB / 0.9164 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/1.341, allocations: 4.125 kB / 0.9164 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/1.344, allocations: 0.5614 MB / 0.917 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005516/1.35, allocations: 2.026 MB / 0.919 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007414/1.351, allocations: 57.52 kB / 0.919 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/1.365, allocations: 12.59 MB / 0.9313 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.365, allocations: 5.609 kB / 0.9313 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.382, allocations: 12.31 MB / 0.9433 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00322/1.385, allocations: 1.214 MB / 0.9445 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/1.386, allocations: 53.64 kB / 0.9446 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/1.389, allocations: 231.6 kB / 0.9448 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005696/1.39, allocations: 197.1 kB / 0.945 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/1.39, allocations: 77.02 kB / 0.9451 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007043/1.397, allocations: 4.382 MB / 0.9493 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/1.397, allocations: 1.969 kB / 0.9493 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008838/1.406, allocations: 1.699 MB / 0.951 GB, free: 113.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * 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 {(5,72.0%) 16,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000838/1.407, allocations: 202.7 kB / 0.9512 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.419, allocations: 9.396 MB / 0.9604 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.419, allocations: 4 kB / 0.9604 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005648/1.425, allocations: 3.835 MB / 0.9641 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009784/1.435, allocations: 0.7197 MB / 0.9648 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.462, allocations: 19.07 MB / 0.9834 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006138/1.469, allocations: 4.772 MB / 0.9881 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/1.471, allocations: 471.3 kB / 0.9886 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/1.471, allocations: 0 / 0.9886 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.3385/1.809, allocations: 151.3 MB / 1.136 GB, free: 109.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches