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.001381/0.001381, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001638/0.001638, allocations: 161 kB / 24.99 MB, free: 8.805 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 0.9851/0.9851, allocations: 177 MB / 205.2 MB, free: 5.605 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.302e-06/1.302e-06, allocations: 0 / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.921e-05, allocations: 2.312 kB / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002588/0.002607, allocations: 2.479 MB / 275.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006286/0.003236, allocations: 263 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003349, allocations: 7.938 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.00348, allocations: 39.58 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.003611, allocations: 103.1 kB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.00377, allocations: 67.84 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.004008, allocations: 338.3 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.004161, allocations: 68.2 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.004308, allocations: 179.6 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004431, allocations: 103.7 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.004467, allocations: 24 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.706e-05/0.004494, allocations: 24 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.004532, allocations: 55.77 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.004609, allocations: 107.8 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.004825, allocations: 207.2 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.004828, allocations: 0 / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004829, allocations: 0 / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.004835, allocations: 0 / 277 MB, free: 13.73 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.0005567/0.005392, allocations: 0.6014 MB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.005428, allocations: 11.98 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.005504, allocations: 56.73 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.005704, allocations: 192.1 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.00572, allocations: 17.03 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.005761, allocations: 28.38 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.006014, allocations: 210 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.006029, allocations: 12.19 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.006047, allocations: 8.375 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.006057, allocations: 8.375 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.006217, allocations: 123.8 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.006877, allocations: 0.6934 MB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.007136, allocations: 224.7 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.007238, allocations: 87.95 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.007253, allocations: 15.84 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.007276, allocations: 45.39 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.007278, allocations: 0 / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001544/0.008821, allocations: 1.274 MB / 280.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.008861, allocations: 81.11 kB / 280.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.008979, allocations: 221.9 kB / 280.9 MB, free: 9.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.008999, allocations: 33.7 kB / 280.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.009078, allocations: 195.5 kB / 281.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.009159, allocations: 174.4 kB / 281.3 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.009236, allocations: 87.78 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.009353, allocations: 0.5079 MB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/0.009443, allocations: 56.97 kB / 281.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.00956, allocations: 124.1 kB / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.009783, allocations: 209.3 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009785, allocations: 4 kB / 282.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003082/0.01009, allocations: 302 kB / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01011, allocations: 4 kB / 282.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.01011, allocations: 0 / 282.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.01013, allocations: 7.938 kB / 282.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.01036, allocations: 103.8 kB / 282.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.01037, allocations: 4 kB / 282.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.01043, allocations: 12 kB / 282.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01044, allocations: 16 kB / 282.7 MB, free: 7.652 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.456e-05/0.01054, allocations: 176.6 kB / 282.9 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.01059, allocations: 47.84 kB / 282.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.01065, allocations: 33.97 kB / 283 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01065, allocations: 11.88 kB / 283 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01066, allocations: 4 kB / 283 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01066, allocations: 3.984 kB / 283 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.01141, allocations: 0.8635 MB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.01142, allocations: 4.047 kB / 283.8 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.01165, allocations: 95.91 kB / 283.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.01166, allocations: 4 kB / 283.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.01167, allocations: 12 kB / 284 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.01168, allocations: 7.984 kB / 284 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01168, allocations: 0 / 284 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.01217, allocations: 0.6428 MB / 284.6 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01219, allocations: 19.86 kB / 284.6 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01221, allocations: 12 kB / 284.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.0123, allocations: 8 kB / 284.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.01234, allocations: 35.88 kB / 284.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.01235, allocations: 16 kB / 284.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.01241, allocations: 160.2 kB / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01241, allocations: 0 / 284.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01266, allocations: 76 kB / 284.9 MB, free: 5.336 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 0.0001076/0.01277, allocations: 115.1 kB / 285 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.01306, allocations: 232.2 kB / 285.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01306, allocations: 128 / 285.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.01318, allocations: 132.4 kB / 285.4 MB, free: 4.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.01356, allocations: 72.38 kB / 285.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.01448, allocations: 0.818 MB / 286.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.01454, allocations: 97.61 kB / 286.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.989e-05/0.01464, allocations: 38.95 kB / 286.4 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.0147, allocations: 28.5 kB / 286.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of SimCode: time 1.393e-06/0.0147, allocations: 0 / 286.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of Templates: time 0.004897/0.0196, allocations: 3.016 MB / 289.5 MB, free: 0.7656 MB / 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.7098417750094086]