Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 99.81 kB / 16.27 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 188.7 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2023/0.2023, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 78.22 kB / 382.7 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1205, allocations: 57.78 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01625/0.1368, allocations: 16.63 MB / 457.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1481, allocations: 5.046 MB / 462.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003867/0.1519, allocations: 107.8 kB / 462.3 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.1627, allocations: 5.054 MB / 467.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00979/0.1725, allocations: 2.661 MB / 470 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.1761, allocations: 1.115 MB / 471.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.1885, allocations: 6.769 MB / 477.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.1991, allocations: 5.923 MB / 483.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.2041, allocations: 2.535 MB / 486.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005982/0.2101, allocations: 3.431 MB / 489.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002485/0.2126, allocations: 0.5391 MB / 490.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.2173, allocations: 1.436 MB / 491.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00487/0.2222, allocations: 3.176 MB / 494.9 MB, free: 248 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008158/0.2304, allocations: 3.573 MB / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.2464, allocations: 10.8 MB / 0.4974 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2465, allocations: 3.938 kB / 0.4974 GB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2465, allocations: 0 / 0.4974 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005009/0.247, allocations: 0 / 0.4974 GB, free: 1.809 MB / 382.1 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.02157/0.2686, allocations: 7.789 MB / 0.505 GB, free: 9.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2686, allocations: 11.89 kB / 0.505 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.2826, allocations: 2.807 MB / 0.5077 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.2962, allocations: 4.48 MB / 0.5121 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000449/0.2967, allocations: 370 kB / 0.5125 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003058/0.2998, allocations: 0.4996 MB / 0.5129 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0343/0.3341, allocations: 15.68 MB / 0.5283 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/0.3344, allocations: 63.45 kB / 0.5283 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/0.336, allocations: 243.7 kB / 0.5286 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2485/0.5846, allocations: 3.003 MB / 0.5315 GB, free: 80.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03113/0.6158, allocations: 13.42 MB / 0.5446 GB, free: 78.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07058/0.6864, allocations: 61.08 MB / 0.6042 GB, free: 20.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01768/0.7041, allocations: 7.621 MB / 0.6117 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004981/0.7092, allocations: 4.174 MB / 0.6158 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01764/0.7268, allocations: 9.828 MB / 0.6254 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.727, allocations: 72.48 kB / 0.6254 GB, free: 14.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=273): time 6.773e-06/0.727, allocations: 0 / 0.6254 GB, free: 14.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=315): time 0.09819/0.8252, allocations: 34.32 MB / 0.6589 GB, free: 11.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.8254, allocations: 247.9 kB / 0.6592 GB, free: 11.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/0.8399, allocations: 6.889 MB / 0.6659 GB, free: 4.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001037/0.841, allocations: 78.36 kB / 0.666 GB, free: 4.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004631/0.8456, allocations: 4.642 MB / 0.6705 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002177/0.8478, allocations: 1.184 MB / 0.6717 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005889/0.8537, allocations: 1.88 MB / 0.6735 GB, free: 12.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8539, allocations: 309.1 kB / 0.6738 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007348/0.8613, allocations: 3.906 MB / 0.6776 GB, free: 8.309 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/0.8724, allocations: 9.071 MB / 0.6865 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/0.8899, allocations: 13.92 MB / 0.7001 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002188/0.8902, allocations: 52 kB / 0.7001 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03224/0.9225, allocations: 14.81 MB / 0.7146 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.9227, allocations: 87.98 kB / 0.7147 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003267/0.9231, allocations: 180.5 kB / 0.7148 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006057/0.9291, allocations: 2.269 MB / 0.717 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007575/0.9367, allocations: 2.168 MB / 0.7192 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2283/1.165, allocations: 14.25 MB / 0.7331 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/1.172, allocations: 0.5364 MB / 0.7336 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009658/1.173, allocations: 0.5328 MB / 0.7341 GB, free: 165.9 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004514/1.177, allocations: 3.149 MB / 0.7372 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.178, allocations: 0.5767 MB / 0.7378 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/1.193, allocations: 7.77 MB / 0.7454 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.91e-05/1.193, allocations: 35.44 kB / 0.7454 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-05/1.193, allocations: 7.844 kB / 0.7454 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.24e-05/1.194, allocations: 14.95 kB / 0.7454 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02701/1.221, allocations: 16.26 MB / 0.7613 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/1.221, allocations: 6.781 kB / 0.7613 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/1.223, allocations: 0.5547 MB / 0.7618 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004806/1.228, allocations: 2.033 MB / 0.7638 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003857/1.229, allocations: 66 kB / 0.7639 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/1.243, allocations: 13.52 MB / 0.7771 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.243, allocations: 7.938 kB / 0.7771 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01729/1.26, allocations: 12.35 MB / 0.7892 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003304/1.264, allocations: 1.188 MB / 0.7903 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.265, allocations: 52 kB / 0.7904 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003219/1.269, allocations: 227.7 kB / 0.7906 GB, free: 135.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/1.269, allocations: 199.2 kB / 0.7908 GB, free: 135 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/1.269, allocations: 80 kB / 0.7909 GB, free: 135 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005675/1.275, allocations: 4.414 MB / 0.7952 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.11e-07/1.275, allocations: 0 / 0.7952 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007453/1.283, allocations: 1.706 MB / 0.7968 GB, free: 128.9 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,72.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005211/1.283, allocations: 199 kB / 0.797 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01509/1.298, allocations: 11.56 MB / 0.8083 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.298, allocations: 4 kB / 0.8083 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005783/1.304, allocations: 3.855 MB / 0.8121 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00576/1.31, allocations: 0.753 MB / 0.8128 GB, free: 112.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.336, allocations: 16.08 MB / 0.8285 GB, free: 96.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007884/1.344, allocations: 4.788 MB / 0.8332 GB, free: 91.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008069/1.352, allocations: 2.949 MB / 0.8361 GB, free: 88.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/1.354, allocations: 407.3 kB / 0.8365 GB, free: 88.35 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/1.354, allocations: 0 / 0.8365 GB, free: 88.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.1072/1.462, allocations: 70.97 MB / 0.9058 GB, free: 17.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches