Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002396/0.002396, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002783/0.002783, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.144e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00543/0.005461, allocations: 2.47 MB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008664/0.006328, allocations: 251.1 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.006495, allocations: 7.938 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.006722, allocations: 43.58 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.006987, allocations: 103.1 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.007248, allocations: 63.89 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000568/0.007816, allocations: 334.2 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.008066, allocations: 75.58 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.008357, allocations: 183.6 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.008562, allocations: 99.69 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.00863, allocations: 24 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.008701, allocations: 28 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.008792, allocations: 59.8 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.008974, allocations: 95.77 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.009547, allocations: 322.9 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.009551, allocations: 0 / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.009552, allocations: 0 / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.009559, allocations: 4 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001475/0.01103, allocations: 0.6128 MB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.01108, allocations: 15.98 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.01123, allocations: 52.75 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.01164, allocations: 188.2 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.01168, allocations: 21.03 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.01176, allocations: 32.31 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.01244, allocations: 273.9 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.01247, allocations: 192 / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.0125, allocations: 16.38 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01251, allocations: 4.375 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.013, allocations: 175.8 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.01458, allocations: 0.7598 MB / 278.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.01506, allocations: 285.8 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.01528, allocations: 120 kB / 278.8 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.0153, allocations: 12 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.01535, allocations: 45.3 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.01535, allocations: 3.938 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.002945/0.01829, allocations: 1.482 MB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.01837, allocations: 85.11 kB / 280.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.0186, allocations: 237.9 kB / 280.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.01863, allocations: 29.7 kB / 280.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.01878, allocations: 199.5 kB / 280.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.01896, allocations: 190.4 kB / 281.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.01911, allocations: 95.84 kB / 281.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003074/0.01941, allocations: 0.5235 MB / 281.7 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.0196, allocations: 96.97 kB / 281.8 MB, free: 7.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.01987, allocations: 180.1 kB / 282 MB, free: 7.637 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.02037, allocations: 321.4 kB / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.02037, allocations: 0 / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006223/0.02099, allocations: 386 kB / 282.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02101, allocations: 8 kB / 282.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.02102, allocations: 0 / 282.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.02104, allocations: 7.938 kB / 282.7 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.02146, allocations: 99.89 kB / 282.8 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.02147, allocations: 4 kB / 282.8 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.02158, allocations: 8 kB / 282.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.02161, allocations: 20.06 kB / 282.8 MB, free: 6.781 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.02181, allocations: 196.5 kB / 283 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.02191, allocations: 39.86 kB / 283.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.02202, allocations: 41.95 kB / 283.1 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.02203, allocations: 11.94 kB / 283.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.02204, allocations: 0 / 283.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.02205, allocations: 0 / 283.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.0238, allocations: 0.9884 MB / 284.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.02381, allocations: 4 kB / 284.1 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.02425, allocations: 99.83 kB / 284.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.02425, allocations: 0 / 284.2 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.02428, allocations: 12 kB / 284.2 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.02428, allocations: 7.938 kB / 284.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02428, allocations: 0 / 284.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.02526, allocations: 0.7603 MB / 285 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.0253, allocations: 19.86 kB / 285 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.02535, allocations: 19.98 kB / 285 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.02552, allocations: 19.97 kB / 285 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.02558, allocations: 27.89 kB / 285.1 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.0256, allocations: 12 kB / 285.1 MB, free: 4.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.02575, allocations: 180.2 kB / 285.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02575, allocations: 0 / 285.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.02613, allocations: 76 kB / 285.3 MB, free: 4.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.02629, allocations: 107.2 kB / 285.4 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.02684, allocations: 316.9 kB / 285.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02685, allocations: 4 kB / 285.7 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.02711, allocations: 172.4 kB / 285.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.02767, allocations: 60.03 kB / 286 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.02914, allocations: 0.857 MB / 286.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.02932, allocations: 164.8 kB / 287 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.02945, allocations: 38.95 kB / 287 MB, free: 2.402 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.02953, allocations: 28.5 kB / 287.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02953, allocations: 0 / 287.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of Templates: time 0.007729/0.03726, allocations: 3.016 MB / 290.1 MB, free: 15.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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: 4.482786854030564]