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.000926/0.000926, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.001015/0.001015, allocations: 171 kB / 25.33 MB, free: 8.641 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.839/0.839, allocations: 158.6 MB / 187.2 MB, free: 2.898 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 2.134e-06/2.134e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.868e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002801/0.00283, allocations: 2.464 MB / 253.5 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004855/0.003316, allocations: 247.1 kB / 253.7 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.003438, allocations: 7.938 kB / 253.7 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.003573, allocations: 47.56 kB / 253.8 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.003713, allocations: 107 kB / 253.9 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.003898, allocations: 59.91 kB / 253.9 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.004167, allocations: 338.2 kB / 254.3 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.004334, allocations: 67.64 kB / 254.3 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.004518, allocations: 183.6 kB / 254.5 MB, free: 3.988 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.004656, allocations: 99.69 kB / 254.6 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.004692, allocations: 24 kB / 254.6 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.004728, allocations: 28 kB / 254.7 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.004772, allocations: 63.75 kB / 254.7 MB, free: 3.777 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.004858, allocations: 95.81 kB / 254.8 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.005121, allocations: 215.1 kB / 255 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.005126, allocations: 0 / 255 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005127, allocations: 0 / 255 MB, free: 3.473 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.005135, allocations: 4 kB / 255 MB, free: 3.469 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.0006788/0.005814, allocations: 0.5897 MB / 255.6 MB, free: 2.832 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.005856, allocations: 15.98 kB / 255.6 MB, free: 2.816 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.005936, allocations: 52.75 kB / 255.7 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.006158, allocations: 196.1 kB / 255.9 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.006175, allocations: 21.03 kB / 255.9 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.006223, allocations: 28.38 kB / 255.9 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.006551, allocations: 206 kB / 256.1 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.006576, allocations: 8.125 kB / 256.1 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.006604, allocations: 20.31 kB / 256.2 MB, free: 2.258 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.006617, allocations: 4.375 kB / 256.2 MB, free: 2.254 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.006883, allocations: 115.8 kB / 256.3 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.007883, allocations: 0.6896 MB / 257 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.008278, allocations: 217.8 kB / 257.2 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.008438, allocations: 91.27 kB / 257.3 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.008459, allocations: 12 kB / 257.3 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.008491, allocations: 37.39 kB / 257.3 MB, free: 1.016 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 1.924e-06/0.008493, allocations: 0 / 257.3 MB, free: 1.016 MB / 234.7 MB Notification: Performance of matching and sorting (n=48): time 0.002384/0.01088, allocations: 1.293 MB / 258.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.01093, allocations: 81.11 kB / 258.7 MB, free: 15.51 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.0111, allocations: 229.8 kB / 258.9 MB, free: 15.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.01113, allocations: 33.7 kB / 259 MB, free: 15.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01126, allocations: 191.5 kB / 259.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.01135, allocations: 178.5 kB / 259.3 MB, free: 14.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.01144, allocations: 79.86 kB / 259.4 MB, free: 14.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01156, allocations: 0.504 MB / 259.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.01166, allocations: 60.95 kB / 260 MB, free: 14.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.01178, allocations: 124.2 kB / 260.1 MB, free: 14.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.012, allocations: 213.3 kB / 260.3 MB, free: 13.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.012, allocations: 4 kB / 260.3 MB, free: 13.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003331/0.01234, allocations: 310.2 kB / 260.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01236, allocations: 4 kB / 260.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.01236, allocations: 4 kB / 260.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.01238, allocations: 3.938 kB / 260.6 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.01263, allocations: 103.9 kB / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01264, allocations: 0 / 260.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.01269, allocations: 8.062 kB / 260.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01271, allocations: 20 kB / 260.7 MB, free: 13.38 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 0.0001068/0.01282, allocations: 184.4 kB / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.01287, allocations: 39.86 kB / 261 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.01293, allocations: 41.95 kB / 261 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.01293, allocations: 7.938 kB / 261 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01294, allocations: 0 / 261 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.01294, allocations: 4 kB / 261 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007778/0.01372, allocations: 0.8623 MB / 261.9 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01373, allocations: 0 / 261.9 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.01396, allocations: 99.89 kB / 262 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01396, allocations: 0 / 262 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.01398, allocations: 8 kB / 262 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01398, allocations: 7.938 kB / 262 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01398, allocations: 3.938 kB / 262 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.01447, allocations: 0.639 MB / 262.6 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.01449, allocations: 23.84 kB / 262.6 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.01452, allocations: 16.06 kB / 262.7 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.01461, allocations: 12 kB / 262.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.01465, allocations: 35.83 kB / 262.7 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.01466, allocations: 15.98 kB / 262.7 MB, free: 11.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.418e-05/0.01472, allocations: 155.2 kB / 262.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01472, allocations: 0 / 262.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.01497, allocations: 80 kB / 263 MB, free: 11.07 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 0.0001062/0.01507, allocations: 103.2 kB / 263.1 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.01536, allocations: 223.9 kB / 263.3 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.01536, allocations: 4 kB / 263.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.01549, allocations: 137.2 kB / 263.4 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.01587, allocations: 59.97 kB / 263.5 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.0168, allocations: 0.8225 MB / 264.3 MB, free: 9.676 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.706e-05/0.01686, allocations: 97.61 kB / 264.4 MB, free: 9.559 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.01695, allocations: 34.97 kB / 264.4 MB, free: 9.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.01701, allocations: 24.5 kB / 264.4 MB, free: 9.492 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01701, allocations: 4 kB / 264.4 MB, free: 9.488 MB / 250.7 MB Notification: Performance of Templates: time 0.005092/0.0221, allocations: 3.029 MB / 267.5 MB, free: 6.492 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: 3.0207800338976085]