Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 46.93 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 63.89 kB / 0.4909 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1242, allocations: 65.99 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01351/0.1377, allocations: 10.4 MB / 0.5655 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008722/0.1464, allocations: 3.903 MB / 0.5694 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.148, allocations: 79.62 kB / 0.5694 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.1528, allocations: 2.094 MB / 0.5715 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004882/0.1577, allocations: 1.712 MB / 0.5731 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.1596, allocations: 0.694 MB / 0.5738 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006359/0.166, allocations: 3.997 MB / 0.5777 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003924/0.1699, allocations: 2.219 MB / 0.5799 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.1727, allocations: 1.32 MB / 0.5812 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00349/0.1762, allocations: 2.005 MB / 0.5831 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.1773, allocations: 268 kB / 0.5834 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.1803, allocations: 1.217 MB / 0.5846 GB, free: 7.758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002679/0.183, allocations: 1.706 MB / 0.5863 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003636/0.1866, allocations: 1.953 MB / 0.5882 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2647/0.4513, allocations: 6.336 MB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4514, allocations: 0.6562 kB / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4514, allocations: 0 / 0.5943 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002262/0.4516, allocations: 1 kB / 0.5943 GB, free: 13.43 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01338/0.465, allocations: 4.448 MB / 0.5987 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.465, allocations: 7.938 kB / 0.5987 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001923/0.4669, allocations: 0.63 MB / 0.5993 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0914/0.5583, allocations: 7.051 MB / 0.6062 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00731/0.5656, allocations: 2.633 MB / 0.6088 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.5659, allocations: 195 kB / 0.609 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.5677, allocations: 274.8 kB / 0.6092 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.5865, allocations: 8.526 MB / 0.6175 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002009/0.5867, allocations: 39.8 kB / 0.6176 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.5878, allocations: 129.2 kB / 0.6177 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003388/0.5912, allocations: 1.733 MB / 0.6194 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.6055, allocations: 7.175 MB / 0.6264 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04743/0.6529, allocations: 33.86 MB / 0.6595 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009932/0.6628, allocations: 3.291 MB / 0.6627 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/0.6653, allocations: 1.524 MB / 0.6642 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.6787, allocations: 7.314 MB / 0.6713 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.6788, allocations: 59.75 kB / 0.6714 GB, free: 6.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=151): time 6.562e-06/0.6788, allocations: 3.984 kB / 0.6714 GB, free: 6.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=188): time 0.07244/0.7512, allocations: 19.21 MB / 0.6901 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.7514, allocations: 198.5 kB / 0.6903 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007571/0.7589, allocations: 3.752 MB / 0.694 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004565/0.7594, allocations: 49.7 kB / 0.694 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00302/0.7624, allocations: 2.941 MB / 0.6969 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.7636, allocations: 0.7452 MB / 0.6976 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003161/0.7667, allocations: 1.179 MB / 0.6988 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7669, allocations: 301.1 kB / 0.6991 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/0.7708, allocations: 2.096 MB / 0.7011 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007359/0.7782, allocations: 5.66 MB / 0.7067 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.7897, allocations: 8.407 MB / 0.7149 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.7899, allocations: 36 kB / 0.7149 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02021/0.8101, allocations: 8.701 MB / 0.7234 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.8102, allocations: 56 kB / 0.7234 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002161/0.8105, allocations: 128 kB / 0.7236 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005943/0.8164, allocations: 1.386 MB / 0.7249 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004883/0.8213, allocations: 1.303 MB / 0.7262 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.838, allocations: 9.207 MB / 0.7352 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/0.8429, allocations: 303.6 kB / 0.7355 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/0.8443, allocations: 364 kB / 0.7358 GB, free: 1.793 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (695): * Single equations (assignments): 691 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004654/0.8489, allocations: 1.894 MB / 0.7377 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.85, allocations: 357.6 kB / 0.738 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.8608, allocations: 3.747 MB / 0.7417 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.384e-05/0.8609, allocations: 23.66 kB / 0.7417 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-05/0.8609, allocations: 12 kB / 0.7417 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-05/0.861, allocations: 11.97 kB / 0.7417 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/0.8822, allocations: 8.129 MB / 0.7497 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.8822, allocations: 7.281 kB / 0.7497 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.8837, allocations: 255.6 kB / 0.7499 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005079/0.8888, allocations: 1.175 MB / 0.7511 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/0.8892, allocations: 28 kB / 0.7511 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.9042, allocations: 8.486 MB / 0.7594 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9042, allocations: 0 / 0.7594 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/0.9183, allocations: 6.28 MB / 0.7655 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.9195, allocations: 398.7 kB / 0.7659 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/0.9206, allocations: 28 kB / 0.7659 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/0.9226, allocations: 79.91 kB / 0.766 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005173/0.9231, allocations: 117 kB / 0.7661 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/0.9233, allocations: 51.98 kB / 0.7661 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004745/0.9281, allocations: 2.328 MB / 0.7684 GB, free: 220 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9281, allocations: 0 / 0.7684 GB, free: 220 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00545/0.9335, allocations: 0.95 MB / 0.7693 GB, free: 15.27 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/0.9474, allocations: 6.986 MB / 0.7762 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009523/0.9569, allocations: 5.016 MB / 0.7811 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.957, allocations: 4.438 kB / 0.7811 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00303/0.96, allocations: 1.632 MB / 0.7827 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/0.9633, allocations: 407.3 kB / 0.7831 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08006/1.043, allocations: 44.27 MB / 0.8263 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/1.047, allocations: 2.965 MB / 0.8292 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00417/1.051, allocations: 1.807 MB / 0.8309 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002417/1.054, allocations: 1.644 MB / 0.8326 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of SimCode: time 9.41e-07/1.054, allocations: 4 kB / 0.8326 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.373/1.427, allocations: 67.31 MB / 0.8983 GB, free: 205.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.67/28.1, allocations: 11.3 kB / 0.8983 GB, free: 205.8 MB / 0.6544 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.59741992596537]