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.00111/0.00111, allocations: 112.6 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.001173/0.001173, allocations: 198.1 kB / 18.02 MB, free: 5.066 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.318/1.318, 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.1979/0.1979, allocations: 43.52 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.001491/0.001492, allocations: 77.45 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1118, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01628/0.1281, allocations: 13.75 MB / 0.502 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.1386, allocations: 4.591 MB / 0.5065 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.1412, allocations: 87.75 kB / 0.5066 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007451/0.1487, allocations: 3.769 MB / 0.5103 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006374/0.1551, allocations: 2.358 MB / 0.5126 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.1577, allocations: 1.002 MB / 0.5135 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008885/0.1666, allocations: 5.913 MB / 0.5193 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006812/0.1734, allocations: 4.694 MB / 0.5239 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.1774, allocations: 2.075 MB / 0.5259 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.182, allocations: 2.827 MB / 0.5287 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.1834, allocations: 444 kB / 0.5291 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.187, allocations: 1.475 MB / 0.5305 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2499/0.4369, allocations: 2.637 MB / 0.5331 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.4407, allocations: 2.94 MB / 0.536 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.453, allocations: 9.365 MB / 0.5451 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4531, allocations: 2.25 kB / 0.5451 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4531, allocations: 0 / 0.5451 GB, free: 10.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002847/0.4534, allocations: 0 / 0.5451 GB, free: 10.33 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.01634/0.4697, allocations: 6.389 MB / 0.5514 GB, free: 7.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.4698, allocations: 15.58 kB / 0.5514 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.4813, allocations: 2.634 MB / 0.554 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009761/0.4911, allocations: 4.02 MB / 0.5579 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.4914, allocations: 304 kB / 0.5582 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.4932, allocations: 398.2 kB / 0.5586 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.5162, allocations: 12.62 MB / 0.5709 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/0.5164, allocations: 62.52 kB / 0.5709 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000563/0.517, allocations: 192.1 kB / 0.5711 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003733/0.5207, allocations: 2.405 MB / 0.5735 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.5417, allocations: 10.53 MB / 0.5838 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07085/0.6126, allocations: 48.59 MB / 0.6312 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.6248, allocations: 4.797 MB / 0.6359 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003739/0.6286, allocations: 2.443 MB / 0.6383 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01589/0.6445, allocations: 7.168 MB / 0.6453 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.127e-05/0.6446, allocations: 55.81 kB / 0.6453 GB, free: 6.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 7.925e-06/0.6447, allocations: 3.75 kB / 0.6453 GB, free: 6.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05059/0.6953, allocations: 18 MB / 0.6629 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.6954, allocations: 204.7 kB / 0.6631 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/0.7066, allocations: 5.835 MB / 0.6688 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003331/0.7069, allocations: 49.7 kB / 0.6689 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003456/0.7104, allocations: 3.945 MB / 0.6727 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009748/0.7114, allocations: 0.769 MB / 0.6735 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00303/0.7144, allocations: 1.511 MB / 0.6749 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.7145, allocations: 309.1 kB / 0.6752 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/0.7187, allocations: 2.595 MB / 0.6778 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006871/0.7256, allocations: 7.04 MB / 0.6846 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/0.7375, allocations: 10.33 MB / 0.6947 GB, free: 488 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/0.7377, allocations: 48 kB / 0.6948 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02005/0.7578, allocations: 10.41 MB / 0.7049 GB, free: 6.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.758, allocations: 72 kB / 0.705 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002879/0.7583, allocations: 156 kB / 0.7052 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003318/0.7616, allocations: 1.216 MB / 0.7063 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00565/0.7673, allocations: 1.7 MB / 0.708 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.7775, allocations: 8.358 MB / 0.7162 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006595/0.7841, allocations: 403.3 kB / 0.7166 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/0.7856, allocations: 451.9 kB / 0.717 GB, free: 9.617 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.006399/0.792, allocations: 2.635 MB / 0.7196 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/0.7933, allocations: 477.7 kB / 0.72 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008765/0.8021, allocations: 3.966 MB / 0.7239 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.8021, allocations: 19.95 kB / 0.7239 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.8021, allocations: 7.641 kB / 0.7239 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/0.8046, allocations: 0.8228 MB / 0.7247 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001395/0.806, allocations: 28 kB / 0.7247 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/0.8085, allocations: 115.8 kB / 0.7249 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.809, allocations: 125.1 kB / 0.725 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008391/0.8174, allocations: 4.405 MB / 0.7293 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007939/0.8253, allocations: 5.801 MB / 0.7349 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001946/0.8273, allocations: 1.47 MB / 0.7364 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008468/0.8358, allocations: 3.709 MB / 0.74 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of Backend: time 8.21e-07/0.8358, allocations: 4 kB / 0.74 GB, free: 2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01306/0.8489, allocations: 5.182 MB / 0.7451 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02581/0.8747, allocations: 11.8 MB / 0.7566 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.3216/1.196, allocations: 57.32 MB / 0.8126 GB, free: 176.8 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