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.001152/0.001152, allocations: 102.8 kB / 15.98 MB, free: 6.355 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.001147/0.001146, allocations: 190.6 kB / 16.91 MB, free: 6.191 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.532/1.532, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.37/0.37, allocations: 43.5 MB / 313.6 MB, free: 8.523 MB / 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.001494/0.001494, allocations: 67.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1459, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3563/0.5022, allocations: 73.19 MB / 0.5012 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04564/0.548, allocations: 14.39 MB / 0.5152 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02462/0.5726, allocations: 318.3 kB / 0.5155 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009516/0.5822, allocations: 3.616 MB / 0.519 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009718/0.592, allocations: 2.213 MB / 0.5212 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.5955, allocations: 0.9408 MB / 0.5221 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.609, allocations: 6.159 MB / 0.5281 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006705/0.6158, allocations: 4.946 MB / 0.533 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/0.6199, allocations: 2.127 MB / 0.5351 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004765/0.6247, allocations: 3.147 MB / 0.5381 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001934/0.6266, allocations: 444 kB / 0.5385 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004711/0.6313, allocations: 1.486 MB / 0.54 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00432/0.6357, allocations: 2.665 MB / 0.5426 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00696/0.6427, allocations: 2.967 MB / 0.5455 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.6581, allocations: 9.135 MB / 0.5544 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.6581, allocations: 0 / 0.5544 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.6582, allocations: 4 kB / 0.5544 GB, free: 12.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004952/0.6587, allocations: 0 / 0.5544 GB, free: 12.02 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0201/0.6788, allocations: 6.389 MB / 0.5607 GB, free: 5.559 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6788, allocations: 19.88 kB / 0.5607 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.6906, allocations: 2.633 MB / 0.5633 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.7007, allocations: 3.95 MB / 0.5671 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.701, allocations: 296.2 kB / 0.5674 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.7027, allocations: 411.5 kB / 0.5678 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.7278, allocations: 12.61 MB / 0.5801 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001866/0.7281, allocations: 67.44 kB / 0.5802 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005812/0.7286, allocations: 183.8 kB / 0.5803 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004149/0.7328, allocations: 2.405 MB / 0.5827 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/0.757, allocations: 10.54 MB / 0.593 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3958/1.153, allocations: 48.8 MB / 0.6406 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/1.165, allocations: 4.797 MB / 0.6453 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/1.168, allocations: 2.434 MB / 0.6477 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/1.181, allocations: 7.186 MB / 0.6547 GB, free: 106.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.062e-05/1.181, allocations: 55.59 kB / 0.6548 GB, free: 106.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.752e-06/1.181, allocations: 3.969 kB / 0.6548 GB, free: 106.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05923/1.241, allocations: 17.99 MB / 0.6723 GB, free: 99.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/1.241, allocations: 207.2 kB / 0.6725 GB, free: 99.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01883/1.26, allocations: 5.835 MB / 0.6782 GB, free: 97.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007016/1.26, allocations: 52.45 kB / 0.6783 GB, free: 97.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005841/1.266, allocations: 3.949 MB / 0.6821 GB, free: 94.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001974/1.268, allocations: 0.7652 MB / 0.6829 GB, free: 94.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005617/1.274, allocations: 1.509 MB / 0.6844 GB, free: 93.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/1.274, allocations: 305.1 kB / 0.6847 GB, free: 93.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.279, allocations: 2.6 MB / 0.6872 GB, free: 92.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007011/1.286, allocations: 7.042 MB / 0.6941 GB, free: 85.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.297, allocations: 10.34 MB / 0.7042 GB, free: 77.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001688/1.297, allocations: 46.12 kB / 0.7042 GB, free: 77.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01953/1.317, allocations: 10.41 MB / 0.7144 GB, free: 72.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/1.317, allocations: 75.94 kB / 0.7144 GB, free: 72.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004318/1.318, allocations: 156 kB / 0.7146 GB, free: 71.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/1.321, allocations: 1.222 MB / 0.7158 GB, free: 70.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005638/1.326, allocations: 1.7 MB / 0.7175 GB, free: 69.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00976/1.336, allocations: 8.369 MB / 0.7256 GB, free: 60.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009319/1.346, allocations: 410.9 kB / 0.726 GB, free: 60.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.347, allocations: 448 kB / 0.7264 GB, free: 59.77 MB / 494.1 MB 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.006334/1.353, allocations: 2.62 MB / 0.729 GB, free: 57.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001865/1.355, allocations: 485.8 kB / 0.7295 GB, free: 56.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/1.363, allocations: 3.97 MB / 0.7333 GB, free: 52.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.05e-05/1.363, allocations: 20 kB / 0.7334 GB, free: 52.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-05/1.363, allocations: 8 kB / 0.7334 GB, free: 52.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/1.363, allocations: 7.969 kB / 0.7334 GB, free: 52.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.382, allocations: 9.295 MB / 0.7425 GB, free: 43.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.382, allocations: 5.078 kB / 0.7425 GB, free: 43.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/1.384, allocations: 363.7 kB / 0.7428 GB, free: 42.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/1.386, allocations: 0.9926 MB / 0.7438 GB, free: 41.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/1.387, allocations: 35.44 kB / 0.7438 GB, free: 41.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00734/1.394, allocations: 7.697 MB / 0.7513 GB, free: 33.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.394, allocations: 4 kB / 0.7513 GB, free: 33.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009572/1.404, allocations: 6.735 MB / 0.7579 GB, free: 27.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003424/1.407, allocations: 0.8228 MB / 0.7587 GB, free: 26.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002338/1.409, allocations: 31.98 kB / 0.7587 GB, free: 26.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003141/1.413, allocations: 127.8 kB / 0.7589 GB, free: 26.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/1.413, allocations: 105.1 kB / 0.759 GB, free: 26.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.413, allocations: 59.66 kB / 0.759 GB, free: 25.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007801/1.421, allocations: 3.729 MB / 0.7627 GB, free: 22.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.421, allocations: 0 / 0.7627 GB, free: 22.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01016/1.431, allocations: 1.272 MB / 0.7639 GB, free: 20.99 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * Array equations: 3 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009117/1.432, allocations: 169.1 kB / 0.7641 GB, free: 20.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01264/1.445, allocations: 7.336 MB / 0.7712 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.445, allocations: 0 / 0.7712 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/1.448, allocations: 1.893 MB / 0.7731 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007954/1.456, allocations: 0.6167 MB / 0.7737 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/1.483, allocations: 14.29 MB / 0.7876 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008229/1.491, allocations: 4.017 MB / 0.7916 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007409/1.499, allocations: 2.279 MB / 0.7938 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.5, allocations: 315.4 kB / 0.7941 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.334e-06/1.5, allocations: 0 / 0.7941 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.4208/1.921, allocations: 49.14 MB / 0.8421 GB, free: 163.9 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches