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.0009412/0.0009412, allocations: 80.8 kB / 22.28 MB, free: 2.203 MB / 18.57 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.001009/0.001009, allocations: 163.9 kB / 25.7 MB, free: 8.445 MB / 18.57 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.8451/0.8451, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.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.413e-06/1.413e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.824e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002316/0.002335, allocations: 2.425 MB / 253.9 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005474/0.002882, allocations: 266.8 kB / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.002975, allocations: 11.94 kB / 254.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.003098, allocations: 51.5 kB / 254.3 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003229, allocations: 99.06 kB / 254.4 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.003362, allocations: 63.91 kB / 254.4 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.003578, allocations: 338.2 kB / 254.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.003699, allocations: 74.27 kB / 254.8 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.003837, allocations: 183.6 kB / 255 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.003952, allocations: 99.69 kB / 255.1 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.003984, allocations: 24 kB / 255.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.609e-05/0.00401, allocations: 24 kB / 255.1 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.004048, allocations: 59.75 kB / 255.2 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.004123, allocations: 107.7 kB / 255.3 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.004307, allocations: 207.2 kB / 255.5 MB, free: 3.25 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004309, allocations: 0 / 255.5 MB, free: 3.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004309, allocations: 0 / 255.5 MB, free: 3.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.004313, allocations: 4 kB / 255.5 MB, free: 3.246 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.0004312/0.004744, allocations: 480.2 kB / 256 MB, free: 2.75 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.004772, allocations: 11.98 kB / 256 MB, free: 2.738 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.004821, allocations: 44.89 kB / 256 MB, free: 2.695 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.004982, allocations: 177.2 kB / 256.2 MB, free: 2.496 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.004997, allocations: 21.03 kB / 256.2 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.005037, allocations: 32.33 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.005213, allocations: 204.3 kB / 256.5 MB, free: 2.234 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.005226, allocations: 4.172 kB / 256.5 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.005242, allocations: 12.38 kB / 256.5 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.005248, allocations: 4.375 kB / 256.5 MB, free: 2.215 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.005338, allocations: 83.8 kB / 256.6 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.00582, allocations: 495.9 kB / 257 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.005992, allocations: 188.8 kB / 257.2 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.006056, allocations: 65.69 kB / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.006068, allocations: 4 kB / 257.3 MB, free: 1.355 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.006089, allocations: 42.5 kB / 257.3 MB, free: 1.305 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.252e-06/0.00609, allocations: 0 / 257.3 MB, free: 1.305 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.00131/0.0074, allocations: 1.166 MB / 258.5 MB, free: 40 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.007447, allocations: 85.11 kB / 258.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.007528, allocations: 170.5 kB / 258.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.007542, allocations: 33.7 kB / 258.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.007589, allocations: 132.8 kB / 258.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.007668, allocations: 190.3 kB / 259.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.00773, allocations: 74.16 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.00781, allocations: 342.8 kB / 259.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.007855, allocations: 36.98 kB / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.007928, allocations: 92.83 kB / 259.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.00807, allocations: 177.9 kB / 259.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.008071, allocations: 0 / 259.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001831/0.008254, allocations: 222.3 kB / 260 MB, free: 14.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.008264, allocations: 4 kB / 260 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.00827, allocations: 4 kB / 260 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.008279, allocations: 0 / 260 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.008471, allocations: 103.9 kB / 260.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.008476, allocations: 3.938 kB / 260.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.008526, allocations: 16.06 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.008537, allocations: 12 kB / 260.2 MB, free: 14.29 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.53e-05/0.008612, allocations: 141.6 kB / 260.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.008654, allocations: 31.97 kB / 260.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.008696, allocations: 45.89 kB / 260.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008699, allocations: 8 kB / 260.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.008702, allocations: 0 / 260.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.008708, allocations: 7.922 kB / 260.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.009238, allocations: 0.5966 MB / 261 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.009241, allocations: 7.984 kB / 261 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.00945, allocations: 95.84 kB / 261.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.009453, allocations: 0 / 261.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.009464, allocations: 8 kB / 261.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.009468, allocations: 7.984 kB / 261.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009469, allocations: 0 / 261.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.009762, allocations: 465.5 kB / 261.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.00978, allocations: 19.92 kB / 261.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.009801, allocations: 19.94 kB / 261.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.009881, allocations: 8 kB / 261.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.009909, allocations: 27.95 kB / 261.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.009919, allocations: 11.98 kB / 261.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.806e-05/0.009947, allocations: 40.8 kB / 261.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009947, allocations: 0 / 261.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.01016, allocations: 87.94 kB / 261.8 MB, free: 12.61 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 6.961e-05/0.01023, allocations: 84.36 kB / 261.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.0104, allocations: 185 kB / 262 MB, free: 12.33 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.0104, allocations: 0 / 262 MB, free: 12.33 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.01049, allocations: 114.4 kB / 262.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01076, allocations: 67.95 kB / 262.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.01141, allocations: 0.6564 MB / 262.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.01146, allocations: 97.61 kB / 263 MB, free: 11.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.718e-05/0.01154, allocations: 34.97 kB / 263 MB, free: 11.3 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.01167, allocations: 115.3 kB / 263.1 MB, free: 11.19 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01167, allocations: 4 kB / 263.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of Templates: time 0.004534/0.0162, allocations: 3.326 MB / 266.4 MB, free: 7.898 MB / 250.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 -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.6055492842569947]