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.001333/0.001333, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001595/0.001595, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9472/0.9472, allocations: 177 MB / 205.2 MB, free: 5.031 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.233e-06/1.233e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.708e-05, allocations: 5.266 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002353/0.00237, allocations: 2.458 MB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005068/0.002876, allocations: 282.8 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.002972, allocations: 7.938 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.003098, allocations: 39.58 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.003236, allocations: 95.14 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.003381, allocations: 71.77 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.003603, allocations: 338.2 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.003728, allocations: 70.83 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.003876, allocations: 183.6 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.003992, allocations: 91.77 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.004024, allocations: 24 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.004053, allocations: 32 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.004093, allocations: 59.75 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.004161, allocations: 99.75 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.004351, allocations: 207.2 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004353, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004353, allocations: 4 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.004358, allocations: 0 / 277.4 MB, free: 13.02 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.0004675/0.004825, allocations: 492.1 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.004855, allocations: 15.98 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.004907, allocations: 40.91 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.005078, allocations: 169.3 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.005092, allocations: 21.03 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.005126, allocations: 24.38 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.0053, allocations: 200.3 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.005312, allocations: 8.188 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.005325, allocations: 8.375 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.005332, allocations: 8.375 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.005428, allocations: 87.8 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.005917, allocations: 499.8 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.006095, allocations: 176.9 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.006156, allocations: 78.23 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.00617, allocations: 11.91 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.00619, allocations: 38.5 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.006191, allocations: 0 / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001321/0.007513, allocations: 1.175 MB / 280.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.007548, allocations: 81.11 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.007631, allocations: 170.5 kB / 280.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.007646, allocations: 37.7 kB / 280.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.007695, allocations: 132.8 kB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.007773, allocations: 186.3 kB / 281 MB, free: 9.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.007839, allocations: 78.17 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.007915, allocations: 342.7 kB / 281.4 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.007961, allocations: 40.98 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.008036, allocations: 96.83 kB / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.008172, allocations: 169.9 kB / 281.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008173, allocations: 0 / 281.7 MB, free: 8.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001816/0.008355, allocations: 218.4 kB / 281.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.008366, allocations: 11.88 kB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008371, allocations: 0 / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.008383, allocations: 4 kB / 281.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.008578, allocations: 99.89 kB / 282 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.008583, allocations: 7.938 kB / 282 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.008633, allocations: 12 kB / 282.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.008646, allocations: 12 kB / 282.1 MB, free: 8.043 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 7.257e-05/0.008718, allocations: 129.7 kB / 282.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.008761, allocations: 40.03 kB / 282.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.008802, allocations: 33.97 kB / 282.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008805, allocations: 4 kB / 282.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008808, allocations: 4 kB / 282.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.008815, allocations: 7.922 kB / 282.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.00934, allocations: 0.5938 MB / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009342, allocations: 0 / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.009545, allocations: 95.89 kB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.009549, allocations: 8.062 kB / 283 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.009562, allocations: 12 kB / 283 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.009567, allocations: 11.94 kB / 283 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009568, allocations: 0 / 283 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.009873, allocations: 469.5 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.009893, allocations: 19.86 kB / 283.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.009917, allocations: 8 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.009997, allocations: 12 kB / 283.5 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.01002, allocations: 31.88 kB / 283.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.01004, allocations: 12 kB / 283.5 MB, free: 6.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.01006, allocations: 40.81 kB / 283.6 MB, free: 6.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01006, allocations: 0 / 283.6 MB, free: 6.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.01027, allocations: 79.94 kB / 283.7 MB, free: 6.379 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.511e-05/0.01035, allocations: 96.3 kB / 283.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.01053, allocations: 185.2 kB / 283.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01053, allocations: 0 / 283.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.01061, allocations: 113.6 kB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.0109, allocations: 68.2 kB / 284.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.01153, allocations: 0.6752 MB / 284.8 MB, free: 5.199 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.204e-05/0.01159, allocations: 101.6 kB / 284.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.003e-05/0.01167, allocations: 34.95 kB / 284.9 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.0118, allocations: 111.3 kB / 285 MB, free: 4.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0118, allocations: 0 / 285 MB, free: 4.93 MB / 266.7 MB Notification: Performance of Templates: time 0.004799/0.01659, allocations: 3.322 MB / 288.4 MB, free: 1.664 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.7122989669442177]