Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001133/0.001133, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001677/0.002809, allocations: 445.7 kB / 10.37 MB, free: 328 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.00104/0.00104, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002449, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.839/0.839, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1438/0.9828, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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(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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.555e-05, allocations: 6.25 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002303/0.002319, allocations: 2.48 MB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.002667, allocations: 266.8 kB / 224.6 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.002757, allocations: 7.938 kB / 224.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.51e-05/0.002832, allocations: 43.58 kB / 224.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.00295, allocations: 99.12 kB / 224.7 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.983e-05/0.00305, allocations: 63.84 kB / 224.8 MB, free: 13.21 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.003371, allocations: 334.3 kB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.003528, allocations: 78.19 kB / 225.2 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.003746, allocations: 204.4 kB / 225.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.003894, allocations: 95.69 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.003935, allocations: 24 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.544e-05/0.00397, allocations: 28 kB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.004011, allocations: 43.81 kB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.353e-05/0.004105, allocations: 87.88 kB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.004341, allocations: 191.3 kB / 225.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.004356, allocations: 0 / 225.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004356, allocations: 0 / 225.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.004372, allocations: 0 / 225.8 MB, free: 12.14 MB / 234.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.0006592/0.005031, allocations: 0.5349 MB / 226.4 MB, free: 11.58 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.005062, allocations: 8.031 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.005124, allocations: 40.91 kB / 226.4 MB, free: 11.53 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.005321, allocations: 173.3 kB / 226.6 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.00534, allocations: 21.03 kB / 226.6 MB, free: 11.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.00538, allocations: 28.33 kB / 226.6 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.005604, allocations: 196.3 kB / 226.8 MB, free: 11.09 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.005617, allocations: 4.125 kB / 226.8 MB, free: 11.08 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.005636, allocations: 15.94 kB / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005644, allocations: 4 kB / 226.9 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.005773, allocations: 91.84 kB / 226.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006025/0.006376, allocations: 0.4918 MB / 227.4 MB, free: 10.46 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.006588, allocations: 185.1 kB / 227.6 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.006661, allocations: 61.7 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.006675, allocations: 4 kB / 227.7 MB, free: 10.19 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.0067, allocations: 42.55 kB / 227.7 MB, free: 10.14 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.006701, allocations: 4 kB / 227.7 MB, free: 10.14 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.001662/0.008363, allocations: 1.173 MB / 228.9 MB, free: 8.863 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.008405, allocations: 85.11 kB / 229 MB, free: 8.762 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.008505, allocations: 166.6 kB / 229.1 MB, free: 8.586 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.008523, allocations: 33.7 kB / 229.2 MB, free: 8.547 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.008583, allocations: 136.8 kB / 229.3 MB, free: 8.41 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.008686, allocations: 182.4 kB / 229.5 MB, free: 8.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.008773, allocations: 86.14 kB / 229.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.008865, allocations: 334.8 kB / 229.9 MB, free: 7.805 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.008923, allocations: 44.97 kB / 229.9 MB, free: 7.762 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.009017, allocations: 84.84 kB / 230 MB, free: 7.66 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.009193, allocations: 178 kB / 230.2 MB, free: 7.477 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.009194, allocations: 0 / 230.2 MB, free: 7.477 MB / 234.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002301/0.009424, allocations: 218.3 kB / 230.4 MB, free: 7.258 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.009437, allocations: 6.5 kB / 230.4 MB, free: 7.254 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009442, allocations: 4.062 kB / 230.4 MB, free: 7.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.009455, allocations: 7.938 kB / 230.4 MB, free: 7.242 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.009793, allocations: 127.8 kB / 230.6 MB, free: 7.117 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.009799, allocations: 7.984 kB / 230.6 MB, free: 7.109 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.009868, allocations: 8 kB / 230.6 MB, free: 7.102 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.009884, allocations: 15.98 kB / 230.6 MB, free: 7.086 MB / 234.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 8.87e-05/0.009973, allocations: 129.7 kB / 230.7 MB, free: 6.949 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.01003, allocations: 39.91 kB / 230.8 MB, free: 6.91 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.01009, allocations: 41.97 kB / 230.8 MB, free: 6.871 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.0101, allocations: 4 kB / 230.8 MB, free: 6.867 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.0101, allocations: 0 / 230.8 MB, free: 6.867 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.01011, allocations: 3.984 kB / 230.8 MB, free: 6.863 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.0108, allocations: 0.6041 MB / 231.4 MB, free: 6.227 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.01081, allocations: 8 kB / 231.4 MB, free: 6.219 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.01115, allocations: 121.9 kB / 231.5 MB, free: 6.102 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.01117, allocations: 23.81 kB / 231.6 MB, free: 6.078 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.01118, allocations: 11.92 kB / 231.6 MB, free: 6.066 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.0112, allocations: 12 kB / 231.6 MB, free: 6.055 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.0112, allocations: 3.938 kB / 231.6 MB, free: 6.051 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.0112, allocations: 4 kB / 231.6 MB, free: 6.047 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.01158, allocations: 465.5 kB / 232 MB, free: 5.574 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.0116, allocations: 11.94 kB / 232.1 MB, free: 5.562 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01173, allocations: 8 kB / 232.1 MB, free: 5.555 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.01176, allocations: 35.89 kB / 232.1 MB, free: 5.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01178, allocations: 7.984 kB / 232.1 MB, free: 5.512 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.01181, allocations: 50.39 kB / 232.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01181, allocations: 0 / 232.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.01211, allocations: 76 kB / 232.2 MB, free: 5.387 MB / 234.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 8.239e-05/0.01219, allocations: 88.36 kB / 232.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.01242, allocations: 177.6 kB / 232.5 MB, free: 5.109 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.01243, allocations: 7.984 kB / 232.5 MB, free: 5.102 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01254, allocations: 121.6 kB / 232.6 MB, free: 4.98 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.01293, allocations: 83.91 kB / 232.7 MB, free: 4.898 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.01433, allocations: 0.6324 MB / 233.3 MB, free: 4.23 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.678e-05/0.01441, allocations: 97.61 kB / 233.4 MB, free: 4.109 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.01451, allocations: 30.97 kB / 233.5 MB, free: 4.082 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.01467, allocations: 115.3 kB / 233.6 MB, free: 3.969 MB / 234.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01467, allocations: 3.938 kB / 233.6 MB, free: 3.965 MB / 234.7 MB Notification: Performance of Templates: time 0.005954/0.02062, allocations: 3.62 MB / 237.2 MB, free: 380 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6623949334025383]