Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 109.2 kB / 17.09 MB, free: 6.008 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.001978/0.001978, allocations: 199.3 kB / 18.02 MB, free: 5.09 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.375/1.375, 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.2063/0.2063, allocations: 43.53 MB / 314.8 MB, free: 460 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.001436/0.001436, allocations: 71.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.01943/0.1289, allocations: 19.85 MB / 0.508 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.1431, allocations: 5.95 MB / 0.5138 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004453/0.1477, allocations: 139.6 kB / 0.5139 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.1599, allocations: 6.374 MB / 0.5201 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009809/0.1698, allocations: 3.217 MB / 0.5233 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.1741, allocations: 1.595 MB / 0.5248 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.241/0.4152, allocations: 9.595 MB / 0.5342 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01058/0.4258, allocations: 8.243 MB / 0.5423 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006621/0.4325, allocations: 3.364 MB / 0.5455 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008426/0.4409, allocations: 4.636 MB / 0.5501 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003172/0.4441, allocations: 0.7536 MB / 0.5508 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005643/0.4498, allocations: 1.757 MB / 0.5525 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006525/0.4563, allocations: 4.232 MB / 0.5567 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008767/0.4651, allocations: 4.646 MB / 0.5612 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.4843, allocations: 14.54 MB / 0.5754 GB, free: 9.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4844, allocations: 0 / 0.5754 GB, free: 9.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4844, allocations: 4 kB / 0.5754 GB, free: 9.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005871/0.485, allocations: 0 / 0.5754 GB, free: 9.992 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.02636/0.5114, allocations: 9.756 MB / 0.5849 GB, free: 1.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.5114, allocations: 11.89 kB / 0.5849 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01897/0.5304, allocations: 3.686 MB / 0.5885 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/0.5459, allocations: 6.568 MB / 0.595 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/0.5463, allocations: 489.2 kB / 0.5954 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/0.5489, allocations: 0.6414 MB / 0.596 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/0.5847, allocations: 19.13 MB / 0.6147 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/0.5851, allocations: 85.61 kB / 0.6148 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.5862, allocations: 299.2 kB / 0.6151 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005851/0.5921, allocations: 3.414 MB / 0.6184 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03539/0.6275, allocations: 16.18 MB / 0.6342 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09515/0.7227, allocations: 70.2 MB / 0.7028 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02072/0.7434, allocations: 8.5 MB / 0.7111 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006274/0.7497, allocations: 4.531 MB / 0.7155 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000825/0.7506, allocations: 0.6651 MB / 0.7162 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.338e-05/0.7507, allocations: 64.88 kB / 0.7162 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=307): time 6.462e-06/0.7507, allocations: 0 / 0.7162 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=331): time 0.09615/0.8469, allocations: 35 MB / 0.7504 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.847, allocations: 291.7 kB / 0.7507 GB, free: 7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2461/1.093, allocations: 7.637 MB / 0.7581 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008164/1.094, allocations: 72.78 kB / 0.7582 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004008/1.098, allocations: 5.501 MB / 0.7636 GB, free: 196 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.099, allocations: 1.253 MB / 0.7648 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002824/1.102, allocations: 2.031 MB / 0.7668 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.237e-05/1.102, allocations: 303.4 kB / 0.7671 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005986/1.108, allocations: 4.05 MB / 0.771 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008611/1.117, allocations: 9.585 MB / 0.7804 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/1.134, allocations: 14.55 MB / 0.7946 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004854/1.134, allocations: 55 kB / 0.7946 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.0285/1.163, allocations: 15.47 MB / 0.8098 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002842/1.163, allocations: 91.91 kB / 0.8098 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003548/1.163, allocations: 196 kB / 0.81 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00526/1.169, allocations: 2.31 MB / 0.8123 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007381/1.176, allocations: 2.331 MB / 0.8146 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.192, allocations: 16.49 MB / 0.8307 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009465/1.201, allocations: 0.5649 MB / 0.8312 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002161/1.204, allocations: 0.5665 MB / 0.8318 GB, free: 153.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1220): * Single equations (assignments): 1213 * Array equations: 3 * 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 {(1,13,100.0%), (2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008295/1.212, allocations: 3.748 MB / 0.8354 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/1.214, allocations: 0.6479 MB / 0.8361 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.227, allocations: 7.871 MB / 0.8437 GB, free: 142.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.723e-05/1.227, allocations: 19.89 kB / 0.8438 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.227, allocations: 0 / 0.8438 GB, free: 142.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002923/1.23, allocations: 1.262 MB / 0.845 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/1.232, allocations: 59.98 kB / 0.8451 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/1.235, allocations: 240.2 kB / 0.8453 GB, free: 141.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005976/1.236, allocations: 222.2 kB / 0.8455 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01269/1.249, allocations: 8.165 MB / 0.8535 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01144/1.26, allocations: 10.44 MB / 0.8637 GB, free: 122.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002827/1.263, allocations: 2.797 MB / 0.8664 GB, free: 119.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009641/1.273, allocations: 4.882 MB / 0.8712 GB, free: 114.8 MB / 0.5919 GB Notification: Performance of Backend: time 1.853e-06/1.273, allocations: 0 / 0.8712 GB, free: 114.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01697/1.29, allocations: 7.708 MB / 0.8787 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02765/1.317, allocations: 17.55 MB / 0.8958 GB, free: 89.49 MB / 0.5919 GB Notification: Performance of Templates: time 0.3434/1.661, allocations: 90.77 MB / 0.9845 GB, free: 188.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches