Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 108.4 kB / 17.09 MB, free: 6 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.002221/0.002221, allocations: 191.3 kB / 18.02 MB, free: 5.086 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.469/1.469, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2122/0.2122, allocations: 43.52 MB / 314.8 MB, free: 468 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.002683/0.002683, allocations: 68.41 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1159, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.02975/0.1457, allocations: 29.63 MB / 0.5175 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.1638, allocations: 7.725 MB / 0.5251 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/0.169, allocations: 203.5 kB / 0.5253 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2269/0.396, allocations: 10.53 MB / 0.5356 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.4081, allocations: 4.636 MB / 0.5401 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.4132, allocations: 2.047 MB / 0.5421 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01993/0.4331, allocations: 12.85 MB / 0.5547 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.4488, allocations: 13.52 MB / 0.5678 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009231/0.4581, allocations: 5.013 MB / 0.5727 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.4691, allocations: 6.82 MB / 0.5794 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004469/0.4736, allocations: 1.137 MB / 0.5805 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00644/0.48, allocations: 1.983 MB / 0.5825 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008643/0.4887, allocations: 6.321 MB / 0.5886 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01408/0.5028, allocations: 7.021 MB / 0.5955 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02936/0.5322, allocations: 21.39 MB / 0.6164 GB, free: 228 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.5323, allocations: 4 kB / 0.6164 GB, free: 224 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5323, allocations: 4 kB / 0.6164 GB, free: 220 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008212/0.5331, allocations: 0 / 0.6164 GB, free: 220 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.0402/0.5733, allocations: 15.1 MB / 0.6311 GB, free: 1.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.5734, allocations: 15.89 kB / 0.6311 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02338/0.5968, allocations: 4.411 MB / 0.6354 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/0.6165, allocations: 8.759 MB / 0.644 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007822/0.6173, allocations: 0.7386 MB / 0.6447 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/0.6208, allocations: 0.9939 MB / 0.6457 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05949/0.6803, allocations: 29.61 MB / 0.6746 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005019/0.6808, allocations: 119 kB / 0.6747 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/0.6838, allocations: 465.6 kB / 0.6752 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009688/0.6935, allocations: 5.449 MB / 0.6805 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05256/0.7461, allocations: 25.15 MB / 0.705 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5525/1.299, allocations: 111.6 MB / 0.8141 GB, free: 126.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03557/1.334, allocations: 14.89 MB / 0.8286 GB, free: 122.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009796/1.344, allocations: 8.823 MB / 0.8372 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/1.375, allocations: 20.6 MB / 0.8573 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.996e-05/1.375, allocations: 98.88 kB / 0.8574 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=566): time 1.237e-05/1.375, allocations: 0 / 0.8574 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=650): time 0.1657/1.54, allocations: 75.77 MB / 0.9314 GB, free: 34.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/1.541, allocations: 374.1 kB / 0.9318 GB, free: 34.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01497/1.555, allocations: 12.1 MB / 0.9436 GB, free: 22.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001986/1.558, allocations: 125.7 kB / 0.9437 GB, free: 22.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004647/1.562, allocations: 8.564 MB / 0.9521 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002798/1.565, allocations: 2.5 MB / 0.9545 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004609/1.57, allocations: 3.272 MB / 0.9577 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.926e-05/1.57, allocations: 301.1 kB / 0.958 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009495/1.579, allocations: 7.445 MB / 0.9653 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01897/1.598, allocations: 15.78 MB / 0.9807 GB, free: 13.1 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2648/1.863, allocations: 24.85 MB / 1.005 GB, free: 185.4 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002499/1.863, allocations: 82.75 kB / 1.005 GB, free: 185.4 MB / 0.6232 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.05037/1.914, allocations: 27.31 MB / 1.032 GB, free: 178.1 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.914, allocations: 124.9 kB / 1.032 GB, free: 178.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002618/1.914, allocations: 287.7 kB / 1.032 GB, free: 178.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/1.924, allocations: 4.462 MB / 1.036 GB, free: 177.3 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/1.937, allocations: 3.802 MB / 1.04 GB, free: 176.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0288/1.966, allocations: 28.53 MB / 1.068 GB, free: 161.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/1.978, allocations: 0.9522 MB / 1.069 GB, free: 161 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002527/1.981, allocations: 0.8892 MB / 1.07 GB, free: 160.1 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1310 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1946): * Single equations (assignments): 1935 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,22,100.0%), (2,22,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009535/1.99, allocations: 5.678 MB / 1.075 GB, free: 154.7 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/1.993, allocations: 1.103 MB / 1.076 GB, free: 154.2 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02603/2.019, allocations: 16.73 MB / 1.093 GB, free: 137.5 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001545/2.019, allocations: 27.89 kB / 1.093 GB, free: 137.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/2.019, allocations: 4.875 kB / 1.093 GB, free: 137.4 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006457/2.025, allocations: 2.291 MB / 1.095 GB, free: 135.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003277/2.029, allocations: 113.8 kB / 1.095 GB, free: 135.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006189/2.035, allocations: 483.1 kB / 1.096 GB, free: 134.8 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/2.036, allocations: 428.9 kB / 1.096 GB, free: 134.4 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0291/2.065, allocations: 16.61 MB / 1.112 GB, free: 117.8 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02509/2.09, allocations: 21.22 MB / 1.133 GB, free: 96.51 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006333/2.097, allocations: 5.932 MB / 1.139 GB, free: 90.58 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01052/2.107, allocations: 7.747 MB / 1.146 GB, free: 82.9 MB / 0.6232 GB Notification: Performance of Backend: time 4.51e-07/2.107, allocations: 0 / 1.146 GB, free: 82.9 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02372/2.131, allocations: 13.21 MB / 1.159 GB, free: 69.75 MB / 0.6232 GB Notification: Performance of SimCode: time 0.0435/2.175, allocations: 27.7 MB / 1.186 GB, free: 42.01 MB / 0.6232 GB Notification: Performance of Templates: time 0.4541/2.629, allocations: 155 MB / 1.338 GB, free: 119 MB / 0.6232 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force2/Force2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches