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.001692/0.001692, allocations: 120.3 kB / 17.09 MB, free: 5.984 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.001629/0.001629, allocations: 189.4 kB / 18.01 MB, free: 5.062 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.559/1.559, allocations: 205.1 MB / 223.9 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.2237/0.2237, allocations: 43.52 MB / 314.8 MB, free: 448 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.002096/0.002096, allocations: 77.45 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.127, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01954/0.1466, allocations: 16.68 MB / 0.5049 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.1587, allocations: 5.066 MB / 0.5098 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003279/0.162, allocations: 107.7 kB / 0.5099 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009895/0.1719, allocations: 5.093 MB / 0.5149 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007806/0.1797, allocations: 2.747 MB / 0.5176 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.1829, allocations: 1.123 MB / 0.5187 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.1952, allocations: 6.766 MB / 0.5253 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007438/0.2026, allocations: 4.974 MB / 0.5301 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2267/0.4293, allocations: 2.528 MB / 0.5326 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005319/0.4347, allocations: 3.45 MB / 0.536 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.4364, allocations: 0.5397 MB / 0.5365 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.4397, allocations: 1.42 MB / 0.5379 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003663/0.4433, allocations: 3.263 MB / 0.5411 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005784/0.4491, allocations: 3.581 MB / 0.5446 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.4646, allocations: 11.19 MB / 0.5555 GB, free: 5.395 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4646, allocations: 2.844 kB / 0.5555 GB, free: 5.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4646, allocations: 0 / 0.5555 GB, free: 5.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004328/0.465, allocations: 0 / 0.5555 GB, free: 5.395 MB / 414.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.0225/0.4875, allocations: 7.989 MB / 0.5633 GB, free: 1.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4876, allocations: 13.73 kB / 0.5633 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.5019, allocations: 2.856 MB / 0.5661 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.5136, allocations: 4.57 MB / 0.5706 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.5139, allocations: 373.8 kB / 0.5709 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/0.5161, allocations: 0.4998 MB / 0.5714 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03516/0.5512, allocations: 15.69 MB / 0.5867 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002833/0.5515, allocations: 69.89 kB / 0.5868 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.5528, allocations: 236.2 kB / 0.587 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006201/0.559, allocations: 2.998 MB / 0.59 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03029/0.5893, allocations: 13.42 MB / 0.6031 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09581/0.6851, allocations: 60.93 MB / 0.6626 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02159/0.7067, allocations: 7.343 MB / 0.6697 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006662/0.7133, allocations: 3.79 MB / 0.6734 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02056/0.7339, allocations: 9.853 MB / 0.6831 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/0.7339, allocations: 68.03 kB / 0.6831 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=273): time 5.991e-06/0.7339, allocations: 0 / 0.6831 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.09763/0.8316, allocations: 34.76 MB / 0.7171 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00023/0.8318, allocations: 243.5 kB / 0.7173 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/0.8455, allocations: 6.906 MB / 0.724 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009571/0.8465, allocations: 77.64 kB / 0.7241 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004852/0.8513, allocations: 4.805 MB / 0.7288 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002176/0.8535, allocations: 1.248 MB / 0.73 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003569/0.8571, allocations: 1.888 MB / 0.7319 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8572, allocations: 305.1 kB / 0.7322 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007551/0.8648, allocations: 3.906 MB / 0.736 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01902/0.8838, allocations: 9.08 MB / 0.7448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2664/1.15, allocations: 13.91 MB / 0.7584 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001569/1.15, allocations: 55 kB / 0.7585 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.0308/1.181, allocations: 14.82 MB / 0.773 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.181, allocations: 82.92 kB / 0.773 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002627/1.182, allocations: 178.8 kB / 0.7732 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/1.187, allocations: 2.269 MB / 0.7754 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007481/1.195, allocations: 2.165 MB / 0.7775 GB, free: 192 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/1.21, allocations: 14.23 MB / 0.7914 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007789/1.218, allocations: 0.5502 MB / 0.792 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.219, allocations: 0.528 MB / 0.7925 GB, free: 184.5 MB / 0.5919 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.006862/1.226, allocations: 3.162 MB / 0.7956 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/1.228, allocations: 0.6041 MB / 0.7962 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.241, allocations: 7.736 MB / 0.8037 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/1.241, allocations: 32.62 kB / 0.8037 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/1.241, allocations: 15.62 kB / 0.8038 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-05/1.241, allocations: 15.47 kB / 0.8038 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02664/1.268, allocations: 16.04 MB / 0.8194 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/1.268, allocations: 7.938 kB / 0.8195 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/1.271, allocations: 0.5539 MB / 0.82 GB, free: 163.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004806/1.276, allocations: 2.024 MB / 0.822 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000503/1.276, allocations: 59.98 kB / 0.822 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/1.291, allocations: 13.58 MB / 0.8353 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.291, allocations: 4 kB / 0.8353 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.308, allocations: 12.36 MB / 0.8474 GB, free: 135.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/1.311, allocations: 1.219 MB / 0.8486 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/1.313, allocations: 56.92 kB / 0.8486 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/1.316, allocations: 227.7 kB / 0.8488 GB, free: 134.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005585/1.317, allocations: 193.9 kB / 0.849 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.317, allocations: 85.62 kB / 0.8491 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006905/1.324, allocations: 4.41 MB / 0.8534 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/1.324, allocations: 0 / 0.8534 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009637/1.334, allocations: 1.711 MB / 0.8551 GB, free: 127.7 MB / 0.5919 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 {(4,17,75.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.0008154/1.334, allocations: 201.8 kB / 0.8553 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.347, allocations: 9.017 MB / 0.8641 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/1.347, allocations: 0 / 0.8641 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005453/1.353, allocations: 3.514 MB / 0.8675 GB, free: 114.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/1.358, allocations: 0.7438 MB / 0.8682 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/1.385, allocations: 16.13 MB / 0.884 GB, free: 98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005124/1.39, allocations: 4.796 MB / 0.8887 GB, free: 93.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006149/1.396, allocations: 2.949 MB / 0.8915 GB, free: 90.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.398, allocations: 411.3 kB / 0.8919 GB, free: 89.82 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.398, allocations: 0 / 0.8919 GB, free: 89.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.1076/1.505, allocations: 66.33 MB / 0.9567 GB, free: 23.61 MB / 0.5919 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 cvode -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