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.001134/0.001134, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002674, allocations: 449.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.001102/0.001102, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002408, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8971/0.8971, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08466/0.9818, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.182e-06/1.182e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.175e-05, allocations: 4.984 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005747/0.005758, allocations: 2.513 MB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004829/0.006241, allocations: 270.8 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.006334, allocations: 11.94 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.38e-05/0.006418, allocations: 39.58 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.006569, allocations: 99.06 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.006681, allocations: 63.91 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.006944, allocations: 334.3 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.007076, allocations: 78.25 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.007266, allocations: 208.3 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.007398, allocations: 99.69 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.007434, allocations: 24 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.543e-05/0.007469, allocations: 24 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.007509, allocations: 43.81 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.434e-05/0.007593, allocations: 83.88 kB / 248.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.007816, allocations: 195.2 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.007828, allocations: 0 / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.007828, allocations: 0 / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.00784, allocations: 0 / 248.6 MB, free: 10.25 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.003589/0.01143, allocations: 0.535 MB / 249.1 MB, free: 9.691 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.01148, allocations: 8.031 kB / 249.1 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.01153, allocations: 52.83 kB / 249.2 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.0117, allocations: 165.4 kB / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.01171, allocations: 21.03 kB / 249.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.01175, allocations: 32.33 kB / 249.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.01194, allocations: 192.3 kB / 249.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01195, allocations: 4.125 kB / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.01196, allocations: 15.94 kB / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.01197, allocations: 8 kB / 249.6 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.01206, allocations: 75.92 kB / 249.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.01261, allocations: 0.4957 MB / 250.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.01279, allocations: 180.9 kB / 250.3 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.01284, allocations: 66.31 kB / 250.4 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.01286, allocations: 11.91 kB / 250.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.01288, allocations: 34.55 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 1.272e-06/0.01288, allocations: 0 / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001345/0.01423, allocations: 1.183 MB / 251.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.01426, allocations: 81.11 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.919e-05/0.01435, allocations: 171.1 kB / 251.9 MB, free: 6.699 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.01437, allocations: 33.7 kB / 251.9 MB, free: 6.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.01442, allocations: 133.3 kB / 252 MB, free: 6.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.01451, allocations: 182.4 kB / 252.2 MB, free: 6.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.01457, allocations: 82.16 kB / 252.3 MB, free: 6.258 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.01466, allocations: 342.8 kB / 252.6 MB, free: 5.914 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.0147, allocations: 40.97 kB / 252.7 MB, free: 5.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.01478, allocations: 88.84 kB / 252.8 MB, free: 5.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.01491, allocations: 177.9 kB / 252.9 MB, free: 5.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01491, allocations: 0 / 252.9 MB, free: 5.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001975/0.01511, allocations: 218.1 kB / 253.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.01512, allocations: 4 kB / 253.1 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01513, allocations: 0 / 253.1 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.01513, allocations: 7.938 kB / 253.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.0154, allocations: 133.7 kB / 253.3 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01541, allocations: 8.062 kB / 253.3 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.01546, allocations: 12 kB / 253.3 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.01547, allocations: 11.94 kB / 253.3 MB, free: 5.199 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.248e-05/0.01554, allocations: 129.8 kB / 253.4 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.01558, allocations: 43.84 kB / 253.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.01563, allocations: 33.97 kB / 253.5 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01563, allocations: 4 kB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01563, allocations: 0 / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01564, allocations: 7.984 kB / 253.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.01618, allocations: 0.5957 MB / 254.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01618, allocations: 0 / 254.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.01645, allocations: 119.8 kB / 254.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.01647, allocations: 27.8 kB / 254.3 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.01648, allocations: 11.94 kB / 254.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.01649, allocations: 12 kB / 254.3 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01649, allocations: 4 kB / 254.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0165, allocations: 4.062 kB / 254.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.0168, allocations: 461.6 kB / 254.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.01682, allocations: 15.94 kB / 254.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.01691, allocations: 8 kB / 254.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.01693, allocations: 27.94 kB / 254.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01694, allocations: 12 kB / 254.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.8e-05/0.01697, allocations: 41.86 kB / 254.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01697, allocations: 0 / 254.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.01717, allocations: 80 kB / 254.9 MB, free: 3.527 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 7.134e-05/0.01724, allocations: 96.42 kB / 255 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.01743, allocations: 191.4 kB / 255.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.01744, allocations: 8 kB / 255.2 MB, free: 3.223 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.01752, allocations: 109.7 kB / 255.3 MB, free: 3.113 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.0178, allocations: 92.03 kB / 255.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.01913, allocations: 0.632 MB / 256.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.01919, allocations: 97.61 kB / 256.1 MB, free: 2.238 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.34e-05/0.01929, allocations: 30.97 kB / 256.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.01942, allocations: 119.3 kB / 256.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01942, allocations: 0 / 256.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of Templates: time 0.004794/0.02421, allocations: 3.632 MB / 259.9 MB, free: 14.54 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3912182776257396]