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.0009502/0.0009502, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004688/0.005638, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001008/0.001008, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.002115, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.952/0.952, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08321/1.035, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.423e-06/1.423e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.727e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003564/0.003581, allocations: 2.509 MB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000734/0.004315, allocations: 266.9 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.004456, allocations: 11.94 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.004566, allocations: 47.56 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.004787, allocations: 99.06 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.004947, allocations: 59.91 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.005299, allocations: 338.3 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.005465, allocations: 75.67 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.005731, allocations: 208.3 kB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.005893, allocations: 99.69 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.005939, allocations: 24 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.00598, allocations: 24 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.006023, allocations: 43.81 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.006123, allocations: 83.88 kB / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.006388, allocations: 191.2 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.006404, allocations: 0 / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006404, allocations: 4 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.006424, allocations: 0 / 249.1 MB, free: 9.582 MB / 250.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.0007555/0.00718, allocations: 0.5311 MB / 249.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.007215, allocations: 12.62 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.007289, allocations: 40.91 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.007516, allocations: 169.4 kB / 249.8 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.007536, allocations: 21.03 kB / 249.8 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.007578, allocations: 32.33 kB / 249.9 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.007827, allocations: 192.3 kB / 250 MB, free: 8.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.007845, allocations: 8.172 kB / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.007863, allocations: 11.94 kB / 250.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.007874, allocations: 8 kB / 250.1 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.008007, allocations: 79.88 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.008687, allocations: 0.4956 MB / 250.6 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.008933, allocations: 180.9 kB / 250.8 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/0.009022, allocations: 70.28 kB / 250.9 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.009041, allocations: 11.91 kB / 250.9 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.00907, allocations: 38.56 kB / 250.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.953e-06/0.009071, allocations: 0 / 250.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.00205/0.01112, allocations: 1.183 MB / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.01117, allocations: 85.11 kB / 252.2 MB, free: 6.203 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.01129, allocations: 167.1 kB / 252.4 MB, free: 6.027 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.01131, allocations: 33.7 kB / 252.4 MB, free: 5.988 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.01138, allocations: 136.8 kB / 252.5 MB, free: 5.848 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.0115, allocations: 182.4 kB / 252.7 MB, free: 5.668 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.0116, allocations: 74.16 kB / 252.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.01171, allocations: 346.8 kB / 253.1 MB, free: 5.242 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.01178, allocations: 36.98 kB / 253.2 MB, free: 5.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01189, allocations: 92.83 kB / 253.2 MB, free: 5.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.0121, allocations: 177.9 kB / 253.4 MB, free: 4.914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.0121, allocations: 4 kB / 253.4 MB, free: 4.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002984/0.0124, allocations: 214.1 kB / 253.6 MB, free: 4.695 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01242, allocations: 8 kB / 253.6 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01242, allocations: 0 / 253.6 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.01244, allocations: 7.938 kB / 253.7 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.0129, allocations: 134.7 kB / 253.8 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.0129, allocations: 0 / 253.8 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.01299, allocations: 12 kB / 253.8 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.01301, allocations: 12 kB / 253.8 MB, free: 4.531 MB / 250.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 9.518e-05/0.0131, allocations: 129.7 kB / 253.9 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.01318, allocations: 39.91 kB / 254 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.01324, allocations: 37.95 kB / 254 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.01325, allocations: 8 kB / 254 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01325, allocations: 0 / 254 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.01326, allocations: 3.984 kB / 254 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/0.0141, allocations: 0.5977 MB / 254.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.0141, allocations: 0 / 254.6 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.0145, allocations: 123.8 kB / 254.7 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.01454, allocations: 23.81 kB / 254.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.01454, allocations: 7.875 kB / 254.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.01456, allocations: 12 kB / 254.8 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.01457, allocations: 12.06 kB / 254.8 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01457, allocations: 0 / 254.8 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.01507, allocations: 461.6 kB / 255.2 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.01511, allocations: 15.88 kB / 255.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.01526, allocations: 15.98 kB / 255.3 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.0153, allocations: 31.94 kB / 255.3 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.01531, allocations: 8 kB / 255.3 MB, free: 2.969 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.337e-05/0.01536, allocations: 41.86 kB / 255.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01536, allocations: 0 / 255.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.01562, allocations: 80 kB / 255.4 MB, free: 2.848 MB / 250.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 9.351e-05/0.01571, allocations: 92.36 kB / 255.5 MB, free: 2.746 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.01591, allocations: 181 kB / 255.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.01592, allocations: 8 kB / 255.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.016, allocations: 113.6 kB / 255.8 MB, free: 2.441 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01631, allocations: 100 kB / 255.9 MB, free: 2.348 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.01749, allocations: 0.6167 MB / 256.5 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.541e-05/0.01756, allocations: 101.6 kB / 256.6 MB, free: 1.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.281e-05/0.01765, allocations: 30.95 kB / 256.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.01779, allocations: 119.3 kB / 256.8 MB, free: 1.426 MB / 250.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01779, allocations: 0 / 256.8 MB, free: 1.426 MB / 250.7 MB Notification: Performance of Templates: time 0.005151/0.02294, allocations: 3.63 MB / 260.4 MB, free: 13.86 MB / 266.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4884823821485043]