Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009745, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009657/0.0009657, allocations: 166.3 kB / 24.82 MB, free: 9.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.019/1.019, allocations: 177 MB / 205.1 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.161e-05, allocations: 2.312 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002642/0.002664, allocations: 2.458 MB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005317/0.003196, allocations: 259 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003297, allocations: 7.938 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003426, allocations: 51.5 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.003557, allocations: 99.08 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.003706, allocations: 63.89 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.003936, allocations: 326.3 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.004095, allocations: 68.2 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.004249, allocations: 191.6 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.004388, allocations: 95.7 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.004424, allocations: 24 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.265e-05/0.004457, allocations: 24 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.004506, allocations: 63.73 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.004585, allocations: 103.8 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.004802, allocations: 211.2 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004804, allocations: 0 / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004805, allocations: 0 / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004809, allocations: 0 / 277.3 MB, free: 13.18 MB / 266.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.0005245/0.005333, allocations: 0.5975 MB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.005369, allocations: 11.98 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.005428, allocations: 52.75 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.005603, allocations: 196.1 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.00562, allocations: 21.03 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.005652, allocations: 28.38 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.005851, allocations: 198 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.005866, allocations: 12.05 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.005881, allocations: 12.38 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.005891, allocations: 8.375 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.005992, allocations: 91.81 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.006535, allocations: 0.6627 MB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.00673, allocations: 201.9 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.006796, allocations: 79.92 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.00681, allocations: 15.84 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.006833, allocations: 41.39 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.383e-06/0.006834, allocations: 0 / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001203/0.008037, allocations: 1.149 MB / 280.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.008075, allocations: 93.05 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.008185, allocations: 217.8 kB / 281 MB, free: 9.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.008205, allocations: 37.7 kB / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.008281, allocations: 183.5 kB / 281.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/0.008374, allocations: 190.3 kB / 281.4 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.008445, allocations: 79.81 kB / 281.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.00858, allocations: 0.5157 MB / 282 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.008636, allocations: 44.95 kB / 282 MB, free: 8.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.008723, allocations: 108.1 kB / 282.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.008881, allocations: 189.3 kB / 282.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008883, allocations: 0 / 282.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002267/0.00911, allocations: 274 kB / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.009121, allocations: 4 kB / 282.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.009128, allocations: 7.984 kB / 282.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.00914, allocations: 4.062 kB / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.009333, allocations: 99.91 kB / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.009338, allocations: 3.938 kB / 282.7 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.009388, allocations: 15.98 kB / 282.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.0094, allocations: 8 kB / 282.7 MB, free: 7.406 MB / 266.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 9.618e-05/0.009496, allocations: 180.5 kB / 282.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.009547, allocations: 39.86 kB / 282.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.009599, allocations: 37.97 kB / 283 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009602, allocations: 4 kB / 283 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.009607, allocations: 7.938 kB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.009613, allocations: 7.984 kB / 283 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.01024, allocations: 0.8054 MB / 283.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01024, allocations: 4 kB / 283.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.01045, allocations: 95.89 kB / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01045, allocations: 0 / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01046, allocations: 12 kB / 283.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01047, allocations: 7.938 kB / 283.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01047, allocations: 64 / 283.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.01086, allocations: 0.6078 MB / 284.5 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.01088, allocations: 19.86 kB / 284.6 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.0109, allocations: 11.98 kB / 284.6 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.01098, allocations: 8 kB / 284.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.011, allocations: 31.89 kB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.01101, allocations: 8 kB / 284.6 MB, free: 5.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.01107, allocations: 163 kB / 284.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01107, allocations: 0 / 284.8 MB, free: 5.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.01129, allocations: 84 kB / 284.9 MB, free: 5.195 MB / 266.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.046e-05/0.01137, allocations: 107.2 kB / 285 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.01157, allocations: 204.2 kB / 285.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01157, allocations: 0 / 285.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.01167, allocations: 124.4 kB / 285.3 MB, free: 4.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.01199, allocations: 67.38 kB / 285.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/0.01276, allocations: 0.8102 MB / 286.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.01282, allocations: 101.5 kB / 286.3 MB, free: 3.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.765e-05/0.0129, allocations: 34.95 kB / 286.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.01303, allocations: 138.2 kB / 286.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01303, allocations: 0 / 286.4 MB, free: 3.543 MB / 266.7 MB Notification: Performance of Templates: time 0.004851/0.01788, allocations: 3.322 MB / 289.7 MB, free: 284 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7899177097715437]