Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001144/0.001144, allocations: 81.08 kB / 9.988 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001665/0.002809, allocations: 452 kB / 10.43 MB, free: 260 kB / 10.45 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.001061/0.001061, allocations: 161.1 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002438, allocations: 483.5 kB / 11.8 MB, free: 2.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8547/0.8547, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1471/1.002, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1384/0.1384, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02221/0.1606, allocations: 12.31 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] 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.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: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.178e-05, allocations: 10.19 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.0108/0.01082, allocations: 9.968 MB / 277.4 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007069/0.01789, allocations: 3.922 MB / 281.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.01914, allocations: 75.62 kB / 281.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.02131, allocations: 2.121 MB / 283.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.02446, allocations: 1.788 MB / 285.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1318/0.1563, allocations: 0.7047 MB / 286 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004802/0.1611, allocations: 3.932 MB / 289.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.1638, allocations: 2.281 MB / 292.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.1671, allocations: 2.306 MB / 294.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.1699, allocations: 1.921 MB / 296.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007565/0.1707, allocations: 271 kB / 296.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.1726, allocations: 1.167 MB / 297.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.1739, allocations: 1.623 MB / 299.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.1751, allocations: 0.8977 MB / 300.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.1782, allocations: 3.941 MB / 304.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.1782, allocations: 0.7812 kB / 304.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1782, allocations: 0 / 304.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.1783, allocations: 0.5312 kB / 304.3 MB, free: 15.54 MB / 298.7 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.004802/0.1831, allocations: 4.808 MB / 309.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1832, allocations: 12.03 kB / 309.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.1865, allocations: 1.119 MB / 310.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.1886, allocations: 1.696 MB / 312 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/0.1886, allocations: 196.6 kB / 312.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/0.189, allocations: 272 kB / 312.4 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00496/0.1939, allocations: 4.328 MB / 316.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.221e-05/0.194, allocations: 36.77 kB / 316.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.1943, allocations: 131.6 kB / 316.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.1955, allocations: 1.443 MB / 318.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.1994, allocations: 2.161 MB / 320.5 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.2205, allocations: 26.82 MB / 347.3 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.2233, allocations: 1.426 MB / 348.8 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.2237, allocations: 343.9 kB / 349.1 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005112/0.2288, allocations: 3.441 MB / 352.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.2289, allocations: 51.55 kB / 352.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 5.029e-06/0.2289, allocations: 3.938 kB / 352.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of matching and sorting (n=169): time 0.01702/0.2459, allocations: 7.374 MB / 360 MB, free: 9.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.246, allocations: 156.4 kB / 360.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.2482, allocations: 3.018 MB / 363.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.2483, allocations: 49.7 kB / 363.2 MB, free: 6.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.2494, allocations: 2.816 MB / 366 MB, free: 3.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006616/0.2501, allocations: 0.6785 MB / 366.7 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008771/0.251, allocations: 1.13 MB / 367.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.251, allocations: 301.1 kB / 368.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.2521, allocations: 0.7621 MB / 368.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.2549, allocations: 4.365 MB / 373.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004443/0.2594, allocations: 6.021 MB / 379.2 MB, free: 3.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.898e-05/0.2594, allocations: 40 kB / 379.3 MB, free: 3.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.005023/0.2644, allocations: 4.365 MB / 383.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.2645, allocations: 70.17 kB / 383.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.2646, allocations: 139.9 kB / 383.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.2662, allocations: 0.7149 MB / 384.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.2686, allocations: 1.462 MB / 386 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.2719, allocations: 3 MB / 389 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.2746, allocations: 259.7 kB / 389.3 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.275, allocations: 312 kB / 389.6 MB, free: 8.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (730): * Single equations (assignments): 726 * 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,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001234/0.2762, allocations: 0.6069 MB / 390.2 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.2766, allocations: 215.8 kB / 390.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.2787, allocations: 1.207 MB / 391.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.2787, allocations: 16 kB / 391.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.2787, allocations: 4 kB / 391.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2787, allocations: 11.97 kB / 391.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/0.2849, allocations: 3.807 MB / 395.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.2849, allocations: 11.94 kB / 395.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.2855, allocations: 239.9 kB / 395.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/0.2863, allocations: 405.7 kB / 396.1 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.288, allocations: 0.7035 MB / 396.8 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.288, allocations: 31.98 kB / 396.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.2907, allocations: 2.588 MB / 399.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.956e-05/0.2907, allocations: 8 kB / 399.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.2931, allocations: 1.998 MB / 401.4 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.2934, allocations: 24 kB / 401.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.294, allocations: 40.02 kB / 401.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.2941, allocations: 100.8 kB / 401.6 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.2942, allocations: 35.98 kB / 401.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008981/0.2951, allocations: 1.095 MB / 402.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2951, allocations: 0 / 402.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00268/0.2978, allocations: 0.9764 MB / 403.7 MB, free: 10.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (122): * Single equations (assignments): 118 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000324/0.2981, allocations: 184 kB / 403.9 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.3009, allocations: 2.666 MB / 406.5 MB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001594/0.3011, allocations: 103.2 kB / 406.6 MB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.302, allocations: 0.6867 MB / 407.3 MB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.3044, allocations: 2.459 MB / 409.8 MB, free: 4.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.3149, allocations: 6.588 MB / 416.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009709/0.3159, allocations: 1.097 MB / 417.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001197/0.3171, allocations: 458.3 kB / 417.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/0.3177, allocations: 489.2 kB / 418.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3177, allocations: 0 / 418.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of Templates: time 0.1653/0.483, allocations: 30.85 MB / 449.2 MB, free: 132 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.467197467572987]