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.001343/0.001343, allocations: 110.1 kB / 17.09 MB, free: 6.012 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.001467/0.001467, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.409/1.409, 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.2084/0.2084, allocations: 43.53 MB / 314.8 MB, free: 472 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.001377/0.001377, allocations: 63.89 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01632/0.127, allocations: 16.62 MB / 0.5048 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.1385, allocations: 5.054 MB / 0.5098 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003882/0.1424, allocations: 107.7 kB / 0.5099 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009347/0.1518, allocations: 5.05 MB / 0.5148 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008473/0.1603, allocations: 2.672 MB / 0.5174 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.1633, allocations: 1.111 MB / 0.5185 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009598/0.1729, allocations: 6.766 MB / 0.5251 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007469/0.1804, allocations: 5.911 MB / 0.5309 GB, free: 268 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2382/0.4187, allocations: 2.526 MB / 0.5333 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005416/0.4242, allocations: 3.44 MB / 0.5367 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.4259, allocations: 0.5421 MB / 0.5372 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.4291, allocations: 1.427 MB / 0.5386 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003806/0.4329, allocations: 3.195 MB / 0.5417 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.4378, allocations: 3.582 MB / 0.5452 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.4505, allocations: 11.15 MB / 0.5561 GB, free: 5.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4505, allocations: 1.188 kB / 0.5561 GB, free: 5.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4505, allocations: 0 / 0.5561 GB, free: 5.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000378/0.4509, allocations: 0 / 0.5561 GB, free: 5.953 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.02125/0.4722, allocations: 7.794 MB / 0.5637 GB, free: 1.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.4722, allocations: 12.8 kB / 0.5637 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.4856, allocations: 2.804 MB / 0.5665 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.4971, allocations: 4.568 MB / 0.5709 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.4974, allocations: 378.3 kB / 0.5713 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.4999, allocations: 0.4923 MB / 0.5718 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03556/0.5355, allocations: 15.69 MB / 0.5871 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005079/0.536, allocations: 65.44 kB / 0.5872 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003071/0.5391, allocations: 243.5 kB / 0.5874 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006143/0.5453, allocations: 3.001 MB / 0.5903 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02903/0.5743, allocations: 13.42 MB / 0.6034 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08847/0.6628, allocations: 60.82 MB / 0.6628 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02056/0.6835, allocations: 7.616 MB / 0.6703 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005463/0.689, allocations: 4.16 MB / 0.6743 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01721/0.7062, allocations: 9.837 MB / 0.6839 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.7063, allocations: 64.5 kB / 0.684 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=273): time 5.3e-06/0.7063, allocations: 0 / 0.684 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.09562/0.8019, allocations: 34.34 MB / 0.7175 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.8021, allocations: 235.9 kB / 0.7178 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/0.8149, allocations: 6.885 MB / 0.7245 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001106/0.8161, allocations: 73.7 kB / 0.7246 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004471/0.8205, allocations: 4.63 MB / 0.7291 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002174/0.8227, allocations: 1.198 MB / 0.7302 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003488/0.8262, allocations: 1.878 MB / 0.7321 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8264, allocations: 305.1 kB / 0.7324 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006064/0.8324, allocations: 3.906 MB / 0.7362 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009998/0.8424, allocations: 9.081 MB / 0.7451 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2771/1.12, allocations: 13.92 MB / 0.7586 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001406/1.12, allocations: 50.38 kB / 0.7587 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03196/1.152, allocations: 14.8 MB / 0.7731 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.152, allocations: 82.34 kB / 0.7732 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002134/1.152, allocations: 184.1 kB / 0.7734 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/1.157, allocations: 2.267 MB / 0.7756 GB, free: 192 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/1.164, allocations: 2.168 MB / 0.7777 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.178, allocations: 14.23 MB / 0.7916 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007215/1.186, allocations: 0.5412 MB / 0.7922 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.187, allocations: 0.5372 MB / 0.7927 GB, free: 184.3 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.004973/1.192, allocations: 3.151 MB / 0.7958 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009603/1.193, allocations: 0.5767 MB / 0.7963 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.205, allocations: 7.766 MB / 0.8039 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.205, allocations: 19.23 kB / 0.8039 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.205, allocations: 0 / 0.8039 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/1.208, allocations: 1.179 MB / 0.8051 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.209, allocations: 52 kB / 0.8051 GB, free: 178 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/1.212, allocations: 221.1 kB / 0.8053 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005282/1.213, allocations: 212.8 kB / 0.8055 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0125/1.225, allocations: 8.135 MB / 0.8135 GB, free: 171.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01077/1.236, allocations: 10.36 MB / 0.8236 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002844/1.239, allocations: 2.821 MB / 0.8264 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00626/1.245, allocations: 4.386 MB / 0.8306 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of Backend: time 4.11e-07/1.245, allocations: 0 / 0.8306 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.258, allocations: 7.186 MB / 0.8377 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02236/1.281, allocations: 14.6 MB / 0.8519 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1157/1.396, allocations: 81.64 MB / 0.9316 GB, free: 50.23 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 -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