Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007502/0.0007503, allocations: 103.9 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.33/0.33, allocations: 43.55 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3394/0.4577, allocations: 66.42 MB / 0.5436 GB, free: 3.195 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03378/0.4916, allocations: 13.82 MB / 0.5571 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01787/0.5095, allocations: 313.7 kB / 0.5574 GB, free: 9.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.5223, allocations: 3.487 MB / 0.5608 GB, free: 8.504 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0334/0.5557, allocations: 10.29 MB / 0.5709 GB, free: 4.098 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005179/0.5609, allocations: 0.8029 MB / 0.5716 GB, free: 3.582 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04226/0.6032, allocations: 34.99 MB / 0.6058 GB, free: 4.121 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009719/0.613, allocations: 5.505 MB / 0.6112 GB, free: 14.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004223/0.6173, allocations: 1.689 MB / 0.6128 GB, free: 12.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004659/0.622, allocations: 2.633 MB / 0.6154 GB, free: 10.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.6233, allocations: 184 kB / 0.6156 GB, free: 10.07 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003588/0.6269, allocations: 1.088 MB / 0.6166 GB, free: 8.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004466/0.6314, allocations: 2.306 MB / 0.6189 GB, free: 6.668 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00252/0.634, allocations: 1.08 MB / 0.6199 GB, free: 5.578 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009127/0.6431, allocations: 7.193 MB / 0.627 GB, free: 14.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6432, allocations: 0 / 0.627 GB, free: 14.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6432, allocations: 4 kB / 0.627 GB, free: 14.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004252/0.6436, allocations: 0 / 0.627 GB, free: 14.36 MB / 458.7 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.01338/0.657, allocations: 5.325 MB / 0.6322 GB, free: 8.965 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6571, allocations: 8.031 kB / 0.6322 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.6695, allocations: 2.699 MB / 0.6348 GB, free: 6.246 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.6796, allocations: 3.883 MB / 0.6386 GB, free: 2.309 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.68, allocations: 296.6 kB / 0.6389 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.6817, allocations: 395.7 kB / 0.6393 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/0.7092, allocations: 12.61 MB / 0.6516 GB, free: 4.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.7096, allocations: 59.44 kB / 0.6516 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/0.7111, allocations: 191.8 kB / 0.6518 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004483/0.7156, allocations: 2.413 MB / 0.6542 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02349/0.7392, allocations: 10.5 MB / 0.6644 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3734/1.113, allocations: 48.81 MB / 0.7121 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/1.124, allocations: 4.797 MB / 0.7168 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/1.127, allocations: 2.429 MB / 0.7192 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/1.139, allocations: 7.171 MB / 0.7262 GB, free: 99.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.139, allocations: 53.44 kB / 0.7262 GB, free: 99.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 5.521e-06/1.139, allocations: 5.844 kB / 0.7262 GB, free: 99.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.05159/1.191, allocations: 17.95 MB / 0.7437 GB, free: 92.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/1.191, allocations: 209.8 kB / 0.7439 GB, free: 92.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007902/1.199, allocations: 5.807 MB / 0.7496 GB, free: 90.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004768/1.199, allocations: 55.81 kB / 0.7497 GB, free: 90.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002378/1.202, allocations: 3.945 MB / 0.7535 GB, free: 86.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/1.203, allocations: 0.7633 MB / 0.7543 GB, free: 86.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/1.203, allocations: 144.9 kB / 0.7544 GB, free: 86.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003297/1.204, allocations: 0.6223 MB / 0.755 GB, free: 85.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/1.207, allocations: 2.57 MB / 0.7575 GB, free: 84.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005469/1.212, allocations: 7.012 MB / 0.7644 GB, free: 76.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0052/1.218, allocations: 4.137 MB / 0.7684 GB, free: 72.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.023e-05/1.218, allocations: 44 kB / 0.7685 GB, free: 72.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01884/1.237, allocations: 10.34 MB / 0.7786 GB, free: 62.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.237, allocations: 72 kB / 0.7786 GB, free: 62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003233/1.237, allocations: 156 kB / 0.7788 GB, free: 61.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003033/1.24, allocations: 1.242 MB / 0.78 GB, free: 60.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005461/1.246, allocations: 1.704 MB / 0.7816 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008288/1.254, allocations: 7.768 MB / 0.7892 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006969/1.261, allocations: 411.3 kB / 0.7896 GB, free: 50.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/1.263, allocations: 444 kB / 0.79 GB, free: 50.04 MB / 490.7 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.005792/1.268, allocations: 2.626 MB / 0.7926 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.27, allocations: 481.7 kB / 0.7931 GB, free: 46.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007745/1.278, allocations: 3.958 MB / 0.7969 GB, free: 42.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/1.278, allocations: 27.95 kB / 0.797 GB, free: 42.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/1.278, allocations: 8 kB / 0.797 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.446e-05/1.278, allocations: 7.969 kB / 0.797 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.297, allocations: 9.291 MB / 0.8061 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1.297, allocations: 4 kB / 0.8061 GB, free: 33.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/1.299, allocations: 363.4 kB / 0.8064 GB, free: 33.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/1.301, allocations: 0.985 MB / 0.8074 GB, free: 32.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/1.302, allocations: 42.88 kB / 0.8074 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007537/1.309, allocations: 7.093 MB / 0.8143 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.309, allocations: 6.734 kB / 0.8143 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009439/1.319, allocations: 6.722 MB / 0.8209 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002668/1.321, allocations: 0.8383 MB / 0.8217 GB, free: 17.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/1.323, allocations: 39.98 kB / 0.8218 GB, free: 17.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.326, allocations: 111.8 kB / 0.8219 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/1.326, allocations: 119.9 kB / 0.822 GB, free: 16.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.326, allocations: 52 kB / 0.822 GB, free: 16.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006073/1.332, allocations: 3.702 MB / 0.8256 GB, free: 13.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.332, allocations: 0 / 0.8256 GB, free: 13.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007788/1.34, allocations: 1.271 MB / 0.8269 GB, free: 11.89 MB / 490.7 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.0005413/1.34, allocations: 171.1 kB / 0.8271 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008837/1.349, allocations: 6.188 MB / 0.8331 GB, free: 5.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/1.349, allocations: 4 kB / 0.8331 GB, free: 5.539 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/1.351, allocations: 1.887 MB / 0.8349 GB, free: 3.629 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.355, allocations: 0.5922 MB / 0.8355 GB, free: 3.043 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/1.382, allocations: 14.26 MB / 0.8494 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005202/1.387, allocations: 4.001 MB / 0.8534 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.389, allocations: 371.4 kB / 0.8537 GB, free: 312 kB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/1.389, allocations: 0 / 0.8537 GB, free: 312 kB / 0.4948 GB Notification: Performance of Templates: time 0.4601/1.849, allocations: 120.4 MB / 0.9713 GB, free: 84.68 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches