Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.0007753/0.0007753, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002022, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008073/0.0008073, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.00182, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9775/0.9775, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08449/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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: 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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.106e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003702/0.003723, allocations: 2.52 MB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.00447, allocations: 270.9 kB / 247.5 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.004612, allocations: 11.94 kB / 247.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.004726, allocations: 39.58 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.004933, allocations: 99.11 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.005085, allocations: 63.91 kB / 247.7 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.005451, allocations: 338.2 kB / 248 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.005638, allocations: 74.25 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.005961, allocations: 204.3 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.006163, allocations: 99.69 kB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.006215, allocations: 24 kB / 248.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.006267, allocations: 24 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.006317, allocations: 43.81 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.006415, allocations: 87.88 kB / 248.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.0067, allocations: 191.3 kB / 248.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.006714, allocations: 0 / 248.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006715, allocations: 0 / 248.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.006729, allocations: 4 kB / 248.8 MB, free: 10.15 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.0007976/0.007526, allocations: 0.531 MB / 249.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.007562, allocations: 16.02 kB / 249.3 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.007644, allocations: 44.84 kB / 249.4 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.007905, allocations: 165.4 kB / 249.5 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.007927, allocations: 17.03 kB / 249.5 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.007982, allocations: 32.33 kB / 249.6 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.008262, allocations: 196.3 kB / 249.8 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.008285, allocations: 4.188 kB / 249.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.008306, allocations: 11.94 kB / 249.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.008319, allocations: 15.98 kB / 249.8 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.008475, allocations: 76.41 kB / 249.9 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.00913, allocations: 499.6 kB / 250.3 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.009305, allocations: 173 kB / 250.5 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.009364, allocations: 74.23 kB / 250.6 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.009378, allocations: 11.91 kB / 250.6 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.009401, allocations: 46.56 kB / 250.6 MB, free: 8.156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.412e-06/0.009402, allocations: 0 / 250.6 MB, free: 8.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001366/0.01077, allocations: 1.19 MB / 251.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.0108, allocations: 85.05 kB / 251.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.01089, allocations: 170.6 kB / 252.1 MB, free: 6.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.01091, allocations: 29.7 kB / 252.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.01096, allocations: 137.3 kB / 252.2 MB, free: 6.414 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.01105, allocations: 190.4 kB / 252.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.01111, allocations: 74.16 kB / 252.5 MB, free: 6.148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.01119, allocations: 342.8 kB / 252.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.01123, allocations: 36.98 kB / 252.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.0113, allocations: 92.83 kB / 253 MB, free: 5.668 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.01144, allocations: 181.9 kB / 253.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01144, allocations: 0 / 253.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000181/0.01162, allocations: 214.4 kB / 253.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01163, allocations: 8.062 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01164, allocations: 0 / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01165, allocations: 7.938 kB / 253.4 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.01192, allocations: 130.6 kB / 253.5 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01192, allocations: 4 kB / 253.5 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.01197, allocations: 4 kB / 253.5 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01198, allocations: 12 kB / 253.5 MB, free: 5.105 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 7.407e-05/0.01206, allocations: 137.7 kB / 253.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.0121, allocations: 47.84 kB / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.01215, allocations: 37.97 kB / 253.7 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01215, allocations: 4 kB / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01215, allocations: 0 / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01216, allocations: 3.984 kB / 253.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.01269, allocations: 0.5988 MB / 254.3 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01269, allocations: 4 kB / 254.3 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.01294, allocations: 119.9 kB / 254.5 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.01296, allocations: 23.81 kB / 254.5 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01297, allocations: 7.938 kB / 254.5 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.01298, allocations: 8 kB / 254.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.01299, allocations: 3.984 kB / 254.5 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01299, allocations: 7.938 kB / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.01328, allocations: 457.7 kB / 255 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.01331, allocations: 19.92 kB / 255 MB, free: 3.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.01339, allocations: 8 kB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.01342, allocations: 27.95 kB / 255 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.01343, allocations: 8 kB / 255 MB, free: 3.535 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.01346, allocations: 53.8 kB / 255.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01346, allocations: 0 / 255.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01366, allocations: 76 kB / 255.2 MB, free: 3.406 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.166e-05/0.01375, allocations: 96.34 kB / 255.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.01394, allocations: 189.2 kB / 255.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.01395, allocations: 4.188 kB / 255.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.01405, allocations: 144.4 kB / 255.6 MB, free: 2.969 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.01451, allocations: 0.7115 MB / 256.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.01564, allocations: 0.6207 MB / 256.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.0157, allocations: 97.61 kB / 257 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.827e-05/0.01579, allocations: 34.95 kB / 257 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.01592, allocations: 119.3 kB / 257.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01592, allocations: 0 / 257.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of Templates: time 0.004953/0.02088, allocations: 3.498 MB / 260.6 MB, free: 13.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.590126642026007]