Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 110.3 kB / 17.09 MB, free: 5.953 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.001854/0.001854, allocations: 200.2 kB / 18.03 MB, free: 5.035 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.351/1.351, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2044/0.2044, allocations: 43.53 MB / 314.8 MB, free: 456 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.001779/0.001779, allocations: 65.47 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1068, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01546/0.1223, allocations: 13.74 MB / 0.502 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1323, allocations: 4.603 MB / 0.5065 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.1346, allocations: 87.75 kB / 0.5066 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007268/0.1418, allocations: 3.761 MB / 0.5103 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.148, allocations: 2.432 MB / 0.5126 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.1505, allocations: 1.002 MB / 0.5136 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008525/0.1591, allocations: 5.909 MB / 0.5194 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006038/0.1651, allocations: 4.687 MB / 0.524 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.1686, allocations: 2.083 MB / 0.526 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.173, allocations: 2.831 MB / 0.5288 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.1744, allocations: 444 kB / 0.5292 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/0.1779, allocations: 1.467 MB / 0.5306 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2205/0.3984, allocations: 2.635 MB / 0.5332 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004099/0.4026, allocations: 2.939 MB / 0.5361 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.4152, allocations: 9.408 MB / 0.5452 GB, free: 10.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4152, allocations: 0 / 0.5452 GB, free: 10.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4152, allocations: 0.7188 kB / 0.5452 GB, free: 10.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002895/0.4155, allocations: 0 / 0.5452 GB, free: 10.22 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01801/0.4336, allocations: 6.557 MB / 0.5516 GB, free: 7.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4336, allocations: 13.02 kB / 0.5517 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.446, allocations: 2.672 MB / 0.5543 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009906/0.456, allocations: 4.045 MB / 0.5582 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.4562, allocations: 300.3 kB / 0.5585 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.4578, allocations: 402.2 kB / 0.5589 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.4782, allocations: 12.62 MB / 0.5712 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/0.4784, allocations: 60.47 kB / 0.5713 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005312/0.4789, allocations: 190.9 kB / 0.5714 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003563/0.4825, allocations: 2.399 MB / 0.5738 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.5036, allocations: 10.54 MB / 0.5841 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06633/0.5699, allocations: 48.68 MB / 0.6316 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/0.582, allocations: 4.798 MB / 0.6363 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003687/0.5857, allocations: 2.436 MB / 0.6387 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01451/0.6003, allocations: 7.191 MB / 0.6457 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.6004, allocations: 62.16 kB / 0.6458 GB, free: 6.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.661e-06/0.6004, allocations: 0 / 0.6458 GB, free: 6.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05347/0.6538, allocations: 18.29 MB / 0.6636 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.654, allocations: 197.2 kB / 0.6638 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/0.6665, allocations: 5.844 MB / 0.6695 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000527/0.6671, allocations: 49.7 kB / 0.6696 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003557/0.6706, allocations: 4.112 MB / 0.6736 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/0.6719, allocations: 0.7896 MB / 0.6744 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004256/0.6762, allocations: 1.527 MB / 0.6759 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.6763, allocations: 301.1 kB / 0.6761 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/0.6812, allocations: 2.596 MB / 0.6787 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009178/0.6904, allocations: 7.045 MB / 0.6856 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/0.7038, allocations: 10.35 MB / 0.6957 GB, free: 15.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/0.704, allocations: 52 kB / 0.6957 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02219/0.7262, allocations: 10.42 MB / 0.7059 GB, free: 5.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.7264, allocations: 72 kB / 0.706 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002398/0.7267, allocations: 156 kB / 0.7061 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/0.7301, allocations: 1.223 MB / 0.7073 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006252/0.7364, allocations: 1.704 MB / 0.709 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.7478, allocations: 8.357 MB / 0.7171 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007005/0.7548, allocations: 415.5 kB / 0.7175 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/0.7567, allocations: 448 kB / 0.7179 GB, free: 8.742 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (904): * Single equations (assignments): 897 * 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 {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007788/0.7645, allocations: 2.623 MB / 0.7205 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/0.766, allocations: 0.4928 MB / 0.721 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008896/0.7749, allocations: 3.974 MB / 0.7249 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/0.7749, allocations: 11.95 kB / 0.7249 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7749, allocations: 3.656 kB / 0.7249 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/0.7773, allocations: 0.8489 MB / 0.7257 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/0.7786, allocations: 31.05 kB / 0.7257 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/0.781, allocations: 123.8 kB / 0.7259 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/0.7814, allocations: 129.1 kB / 0.726 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008474/0.7898, allocations: 4.397 MB / 0.7303 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007884/0.7977, allocations: 5.827 MB / 0.736 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001979/0.7997, allocations: 1.473 MB / 0.7374 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007502/0.8073, allocations: 3.717 MB / 0.741 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of Backend: time 8.61e-07/0.8073, allocations: 4 kB / 0.741 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01322/0.8205, allocations: 5.181 MB / 0.7461 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2271/1.048, allocations: 11.99 MB / 0.7578 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.09322/1.141, allocations: 56.98 MB / 0.8135 GB, free: 175.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches