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.001225/0.001225, allocations: 107.1 kB / 17.03 MB, free: 5.664 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.001185/0.001185, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.327/1.327, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2082/0.2082, allocations: 43.51 MB / 314.7 MB, free: 480 kB / 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.00168/0.00168, allocations: 68.02 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.101, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01589/0.1169, allocations: 16.61 MB / 458.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1276, allocations: 5.046 MB / 463.6 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.1306, allocations: 103.8 kB / 463.7 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009972/0.1406, allocations: 5.062 MB / 468.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008211/0.1489, allocations: 2.672 MB / 471.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.1523, allocations: 1.104 MB / 472.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.1626, allocations: 6.773 MB / 479.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007823/0.1705, allocations: 5.911 MB / 485.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.1749, allocations: 2.531 MB / 487.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005527/0.1805, allocations: 3.435 MB / 491.2 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00193/0.1824, allocations: 0.5391 MB / 491.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.1862, allocations: 1.432 MB / 493.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004755/0.191, allocations: 3.172 MB / 496.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006274/0.1973, allocations: 3.589 MB / 499.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.2105, allocations: 11.13 MB / 0.4991 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.2105, allocations: 4 kB / 0.4991 GB, free: 0.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2106, allocations: 0 / 0.4991 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004698/0.211, allocations: 0 / 0.4991 GB, free: 0.707 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.02017/0.2312, allocations: 7.789 MB / 0.5067 GB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.2313, allocations: 11.89 kB / 0.5067 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.2441, allocations: 2.807 MB / 0.5095 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.255, allocations: 4.554 MB / 0.5139 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.2554, allocations: 382 kB / 0.5143 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.2569, allocations: 499.6 kB / 0.5148 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1948/0.4517, allocations: 15.69 MB / 0.5301 GB, free: 80.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002886/0.452, allocations: 63.61 kB / 0.5301 GB, free: 80.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.4532, allocations: 234.8 kB / 0.5304 GB, free: 80.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005188/0.4584, allocations: 3.008 MB / 0.5333 GB, free: 80.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02551/0.4839, allocations: 13.43 MB / 0.5464 GB, free: 77.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06339/0.5473, allocations: 60.8 MB / 0.6058 GB, free: 19.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01648/0.5639, allocations: 7.622 MB / 0.6132 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004191/0.5681, allocations: 4.164 MB / 0.6173 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/0.5826, allocations: 9.837 MB / 0.6269 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.5827, allocations: 64.48 kB / 0.627 GB, free: 13.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=273): time 5.27e-06/0.5827, allocations: 0 / 0.627 GB, free: 13.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=315): time 0.08451/0.6672, allocations: 34.32 MB / 0.6605 GB, free: 10.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.6673, allocations: 243.8 kB / 0.6607 GB, free: 10.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009887/0.6772, allocations: 6.893 MB / 0.6674 GB, free: 3.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008568/0.6781, allocations: 76.33 kB / 0.6675 GB, free: 3.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003677/0.6818, allocations: 4.64 MB / 0.672 GB, free: 14.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/0.6835, allocations: 1.188 MB / 0.6732 GB, free: 13.72 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002701/0.6862, allocations: 1.88 MB / 0.675 GB, free: 11.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.6863, allocations: 305.1 kB / 0.6753 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005546/0.6919, allocations: 3.906 MB / 0.6791 GB, free: 7.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008791/0.7007, allocations: 9.075 MB / 0.688 GB, free: 11.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01603/0.7167, allocations: 13.91 MB / 0.7016 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/0.7169, allocations: 52 kB / 0.7016 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02739/0.7443, allocations: 14.81 MB / 0.7161 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.7445, allocations: 87.98 kB / 0.7162 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002691/0.7448, allocations: 180.5 kB / 0.7164 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005686/0.7505, allocations: 2.269 MB / 0.7186 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00737/0.7579, allocations: 2.16 MB / 0.7207 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2281/0.986, allocations: 14.24 MB / 0.7346 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/0.9933, allocations: 0.5365 MB / 0.7351 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/0.9947, allocations: 0.5357 MB / 0.7356 GB, free: 166.3 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.005518/1, allocations: 3.152 MB / 0.7387 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/1.002, allocations: 0.5791 MB / 0.7393 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.016, allocations: 7.763 MB / 0.7469 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.216e-05/1.016, allocations: 33.28 kB / 0.7469 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-05/1.016, allocations: 7.875 kB / 0.7469 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.986e-05/1.016, allocations: 19.36 kB / 0.7469 GB, free: 163 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02837/1.045, allocations: 16.22 MB / 0.7628 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/1.045, allocations: 7.562 kB / 0.7628 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003031/1.048, allocations: 0.5548 MB / 0.7633 GB, free: 157.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/1.053, allocations: 2.033 MB / 0.7653 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008068/1.054, allocations: 62.19 kB / 0.7654 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/1.069, allocations: 13.51 MB / 0.7786 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.069, allocations: 4 kB / 0.7786 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/1.085, allocations: 12.35 MB / 0.7906 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003718/1.089, allocations: 1.192 MB / 0.7918 GB, free: 135 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.09, allocations: 57.67 kB / 0.7918 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.093, allocations: 227.3 kB / 0.7921 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/1.094, allocations: 197.3 kB / 0.7922 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.094, allocations: 84 kB / 0.7923 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005975/1.1, allocations: 4.414 MB / 0.7966 GB, free: 130 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/1.1, allocations: 0 / 0.7966 GB, free: 130 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009601/1.11, allocations: 1.703 MB / 0.7983 GB, free: 128.3 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.0008074/1.111, allocations: 198.7 kB / 0.7985 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.123, allocations: 9.442 MB / 0.8077 GB, free: 118.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.123, allocations: 0 / 0.8077 GB, free: 118.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005526/1.129, allocations: 3.852 MB / 0.8115 GB, free: 114.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004943/1.134, allocations: 0.7523 MB / 0.8122 GB, free: 114.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.157, allocations: 15.89 MB / 0.8277 GB, free: 98.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005189/1.162, allocations: 4.796 MB / 0.8324 GB, free: 93.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005926/1.168, allocations: 2.953 MB / 0.8353 GB, free: 90.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.17, allocations: 403.3 kB / 0.8357 GB, free: 90.14 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/1.17, allocations: 0 / 0.8357 GB, free: 90.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.09965/1.269, allocations: 62.58 MB / 0.8968 GB, free: 27.82 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/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