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.0008731/0.0008731, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 173.5 kB / 16.58 MB, free: 6.84 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.602/1.602, allocations: 205.4 MB / 222.7 MB, free: 5.641 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.4318/0.4318, allocations: 43.57 MB / 314.6 MB, free: 8.773 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.000719/0.0007191, allocations: 23.98 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.186, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3871/0.5732, allocations: 66.42 MB / 0.4973 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04481/0.618, allocations: 13.82 MB / 0.5108 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0215/0.6396, allocations: 312.6 kB / 0.5111 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01743/0.6571, allocations: 3.488 MB / 0.5145 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04185/0.699, allocations: 10.29 MB / 0.5245 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00675/0.7057, allocations: 0.794 MB / 0.5253 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05297/0.7587, allocations: 35 MB / 0.5595 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.7713, allocations: 5.502 MB / 0.5649 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005755/0.7771, allocations: 1.689 MB / 0.5665 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005721/0.7829, allocations: 2.629 MB / 0.5691 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00133/0.7842, allocations: 188 kB / 0.5693 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.7879, allocations: 1.088 MB / 0.5703 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.7906, allocations: 2.31 MB / 0.5726 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.7922, allocations: 1.076 MB / 0.5736 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008255/0.8004, allocations: 7.193 MB / 0.5807 GB, free: 2.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8005, allocations: 0 / 0.5807 GB, free: 2.836 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.8005, allocations: 0 / 0.5807 GB, free: 2.836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002785/0.8008, allocations: 0 / 0.5807 GB, free: 2.836 MB / 446.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.0124/0.8132, allocations: 5.325 MB / 0.5859 GB, free: 13.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.8132, allocations: 12.56 kB / 0.5859 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.8243, allocations: 2.691 MB / 0.5885 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009492/0.8338, allocations: 3.889 MB / 0.5923 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.8341, allocations: 299.6 kB / 0.5926 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.8353, allocations: 391.7 kB / 0.593 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02599/0.8613, allocations: 12.62 MB / 0.6053 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/0.8615, allocations: 55.44 kB / 0.6053 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/0.8621, allocations: 195.8 kB / 0.6055 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003693/0.8658, allocations: 2.405 MB / 0.6079 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.8867, allocations: 10.51 MB / 0.6181 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.367/1.254, allocations: 48.81 MB / 0.6658 GB, free: 108.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/1.265, allocations: 4.793 MB / 0.6705 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.268, allocations: 2.426 MB / 0.6728 GB, free: 105.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01663/1.285, allocations: 7.173 MB / 0.6799 GB, free: 102.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/1.285, allocations: 54.41 kB / 0.6799 GB, free: 102.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.141e-06/1.285, allocations: 3.094 kB / 0.6799 GB, free: 102.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05597/1.341, allocations: 17.96 MB / 0.6974 GB, free: 95.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.341, allocations: 201 kB / 0.6976 GB, free: 95.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.353, allocations: 5.802 MB / 0.7033 GB, free: 93.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005983/1.354, allocations: 57.39 kB / 0.7034 GB, free: 93.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.356, allocations: 3.956 MB / 0.7072 GB, free: 90.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.358, allocations: 0.7614 MB / 0.708 GB, free: 89.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.358, allocations: 144.4 kB / 0.7081 GB, free: 89.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003385/1.358, allocations: 0.619 MB / 0.7087 GB, free: 89.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/1.362, allocations: 2.574 MB / 0.7112 GB, free: 88.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/1.367, allocations: 7.013 MB / 0.7181 GB, free: 81.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005351/1.373, allocations: 4.14 MB / 0.7221 GB, free: 79.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.061e-05/1.373, allocations: 44.22 kB / 0.7222 GB, free: 79.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01582/1.389, allocations: 10.33 MB / 0.7322 GB, free: 69.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/1.389, allocations: 72.94 kB / 0.7323 GB, free: 69.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.389, allocations: 156 kB / 0.7325 GB, free: 68.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/1.391, allocations: 1.253 MB / 0.7337 GB, free: 67.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/1.396, allocations: 1.7 MB / 0.7354 GB, free: 66.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007602/1.404, allocations: 7.765 MB / 0.7429 GB, free: 58.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007126/1.411, allocations: 409.5 kB / 0.7433 GB, free: 57.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.412, allocations: 448 kB / 0.7438 GB, free: 57.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006733/1.419, allocations: 2.618 MB / 0.7463 GB, free: 54.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001692/1.421, allocations: 477.8 kB / 0.7468 GB, free: 54.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/1.429, allocations: 3.97 MB / 0.7506 GB, free: 50.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-05/1.429, allocations: 25.89 kB / 0.7507 GB, free: 50.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/1.429, allocations: 8 kB / 0.7507 GB, free: 50.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/1.429, allocations: 7.969 kB / 0.7507 GB, free: 50.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.451, allocations: 9.289 MB / 0.7598 GB, free: 40.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/1.452, allocations: 0 / 0.7598 GB, free: 40.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.453, allocations: 359.7 kB / 0.7601 GB, free: 40.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/1.456, allocations: 0.9886 MB / 0.7611 GB, free: 39.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.456, allocations: 39.94 kB / 0.7611 GB, free: 39.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/1.463, allocations: 7.092 MB / 0.768 GB, free: 31.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.463, allocations: 4 kB / 0.768 GB, free: 31.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009734/1.472, allocations: 6.729 MB / 0.7746 GB, free: 25.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00325/1.476, allocations: 0.8384 MB / 0.7754 GB, free: 24.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/1.478, allocations: 34.34 kB / 0.7755 GB, free: 24.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.48, allocations: 119.8 kB / 0.7756 GB, free: 24.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/1.481, allocations: 121 kB / 0.7757 GB, free: 24.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.481, allocations: 55.98 kB / 0.7757 GB, free: 23.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008248/1.489, allocations: 3.694 MB / 0.7793 GB, free: 20.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.002e-06/1.489, allocations: 3.938 kB / 0.7793 GB, free: 20.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0104/1.5, allocations: 1.278 MB / 0.7806 GB, free: 19.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008334/1.501, allocations: 161 kB / 0.7807 GB, free: 18.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01199/1.513, allocations: 6.198 MB / 0.7868 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.513, allocations: 0.5625 kB / 0.7868 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002866/1.515, allocations: 1.875 MB / 0.7886 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006251/1.522, allocations: 0.5856 MB / 0.7892 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/1.55, allocations: 13.79 MB / 0.8027 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007828/1.558, allocations: 4.024 MB / 0.8066 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007538/1.566, allocations: 2.275 MB / 0.8088 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/1.567, allocations: 319.4 kB / 0.8091 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/1.567, allocations: 0 / 0.8091 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.3886/1.956, allocations: 45.6 MB / 0.8537 GB, free: 146.2 MB / 0.5137 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