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.0009201/0.0009201, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009351/0.0009351, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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.9451/0.9451, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.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.343e-06/1.343e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.419e-05, allocations: 2.312 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002641/0.002665, allocations: 2.474 MB / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005851/0.00325, allocations: 259 kB / 275.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.003367, allocations: 7.938 kB / 275.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.003496, allocations: 47.52 kB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.003634, allocations: 99.12 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.003799, allocations: 67.78 kB / 276 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.00406, allocations: 338.3 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.00421, allocations: 68.48 kB / 276.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.004374, allocations: 179.7 kB / 276.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.004498, allocations: 99.67 kB / 276.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.004532, allocations: 28 kB / 276.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.004559, allocations: 24 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.004597, allocations: 55.77 kB / 276.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.004673, allocations: 103.8 kB / 276.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.004892, allocations: 211.2 kB / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004894, allocations: 0 / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004895, allocations: 0 / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.004901, allocations: 0 / 277.1 MB, free: 13.81 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.000547/0.005448, allocations: 0.5975 MB / 277.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005482, allocations: 8.031 kB / 277.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.005552, allocations: 56.73 kB / 277.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.005753, allocations: 192.1 kB / 277.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.005769, allocations: 21.03 kB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.005805, allocations: 24.38 kB / 278 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.006061, allocations: 217.9 kB / 278.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.006074, allocations: 4.172 kB / 278.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.006094, allocations: 12.38 kB / 278.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.006104, allocations: 4.375 kB / 278.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.006262, allocations: 123.8 kB / 278.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.007171, allocations: 0.6973 MB / 279 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.007424, allocations: 228 kB / 279.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.007527, allocations: 95.94 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.007541, allocations: 7.906 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.007562, allocations: 45.39 kB / 279.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.007564, allocations: 0 / 279.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001559/0.009122, allocations: 1.275 MB / 280.7 MB, free: 9.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.009161, allocations: 97.05 kB / 280.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.009271, allocations: 213.9 kB / 281 MB, free: 9.617 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.009289, allocations: 33.7 kB / 281 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.009363, allocations: 191.5 kB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/0.009448, allocations: 178.4 kB / 281.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.201e-05/0.00952, allocations: 83.86 kB / 281.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.009631, allocations: 0.504 MB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.032e-05/0.009721, allocations: 60.97 kB / 282 MB, free: 8.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.009842, allocations: 124.1 kB / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.01006, allocations: 217.3 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.01007, allocations: 0 / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003032/0.01037, allocations: 302.3 kB / 282.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01038, allocations: 8 kB / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01039, allocations: 0 / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.0104, allocations: 7.938 kB / 282.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.01063, allocations: 103.8 kB / 282.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01064, allocations: 4 kB / 282.8 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.0107, allocations: 8 kB / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.01071, allocations: 12 kB / 282.8 MB, free: 7.734 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.832e-05/0.01081, allocations: 184.5 kB / 283 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.01086, allocations: 47.84 kB / 283 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.01091, allocations: 33.97 kB / 283 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01092, allocations: 11.94 kB / 283 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01092, allocations: 0 / 283 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01093, allocations: 7.922 kB / 283.1 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.01166, allocations: 0.8528 MB / 283.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01166, allocations: 4 kB / 283.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.01191, allocations: 99.95 kB / 284 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01191, allocations: 0 / 284 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01193, allocations: 8 kB / 284 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.01194, allocations: 7.984 kB / 284 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01194, allocations: 3.938 kB / 284 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.01241, allocations: 0.6392 MB / 284.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.01243, allocations: 23.86 kB / 284.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.01246, allocations: 8 kB / 284.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.01254, allocations: 12 kB / 284.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.01258, allocations: 39.88 kB / 284.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.01259, allocations: 12 kB / 284.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.01265, allocations: 164.1 kB / 284.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 4 kB / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000243/0.01289, allocations: 76 kB / 285 MB, free: 5.418 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.59e-05/0.01298, allocations: 107.2 kB / 285.1 MB, free: 5.305 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.01325, allocations: 227.8 kB / 285.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01325, allocations: 0 / 285.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.01337, allocations: 139.4 kB / 285.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.01373, allocations: 58.61 kB / 285.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.0148, allocations: 0.8218 MB / 286.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.043e-05/0.01486, allocations: 97.61 kB / 286.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.188e-05/0.01494, allocations: 38.94 kB / 286.5 MB, free: 3.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.015, allocations: 28.5 kB / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.015, allocations: 0 / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of Templates: time 0.004542/0.01954, allocations: 3.023 MB / 289.5 MB, free: 0.8555 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 -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.7594687449745834]