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.001363/0.001363, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001477/0.001477, allocations: 162.2 kB / 25.61 MB, free: 8.59 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.9993/0.9993, allocations: 177 MB / 205.9 MB, free: 4.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.022e-06/1.022e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.245e-05, allocations: 3.094 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00235/0.002363, allocations: 2.46 MB / 276.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004489/0.002812, allocations: 258.5 kB / 276.8 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.002907, allocations: 7.938 kB / 276.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.003017, allocations: 43.58 kB / 276.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.003147, allocations: 101.3 kB / 277 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.00328, allocations: 72.55 kB / 277 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.003502, allocations: 338.2 kB / 277.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.003617, allocations: 67.64 kB / 277.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.003758, allocations: 187.6 kB / 277.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.003864, allocations: 95.7 kB / 277.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.003893, allocations: 24 kB / 277.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.629e-05/0.003919, allocations: 24 kB / 277.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.003954, allocations: 59.75 kB / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.004019, allocations: 99.81 kB / 277.9 MB, free: 500 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.0042, allocations: 207.2 kB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004202, allocations: 3.938 kB / 278.1 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004203, allocations: 4 kB / 278.1 MB, free: 284 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.004207, allocations: 0 / 278.1 MB, free: 284 kB / 250.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.0005106/0.004718, allocations: 0.5975 MB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.00475, allocations: 8.031 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.004817, allocations: 52.75 kB / 278.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.005005, allocations: 196.2 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.005023, allocations: 17.03 kB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.005055, allocations: 32.33 kB / 279 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.005232, allocations: 198 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.00525, allocations: 4.172 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.005264, allocations: 12.38 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.005272, allocations: 8.375 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.005375, allocations: 91.75 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.005931, allocations: 0.6704 MB / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.006134, allocations: 208 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.006204, allocations: 75.33 kB / 280.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.006222, allocations: 7.938 kB / 280.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.006248, allocations: 42 kB / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.473e-06/0.00625, allocations: 0 / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001253/0.007502, allocations: 1.153 MB / 281.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.007538, allocations: 89.05 kB / 281.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.733e-05/0.007635, allocations: 217.8 kB / 281.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.007654, allocations: 37.7 kB / 281.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.007724, allocations: 191.5 kB / 282 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.007808, allocations: 190.3 kB / 282.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.007878, allocations: 79.83 kB / 282.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.008, allocations: 0.5156 MB / 282.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/0.00805, allocations: 40.97 kB / 282.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.008164, allocations: 112.1 kB / 282.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.008329, allocations: 182.7 kB / 283.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008331, allocations: 0 / 283.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002352/0.008566, allocations: 270.3 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.008576, allocations: 8.062 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.00858, allocations: 7.938 kB / 283.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.008589, allocations: 0 / 283.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.008795, allocations: 103.9 kB / 283.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.008799, allocations: 3.938 kB / 283.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.008854, allocations: 12 kB / 283.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.00887, allocations: 12 kB / 283.5 MB, free: 10.52 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 8.994e-05/0.00896, allocations: 176.5 kB / 283.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.009015, allocations: 43.86 kB / 283.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.009062, allocations: 37.95 kB / 283.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.009067, allocations: 8 kB / 283.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.009071, allocations: 7.938 kB / 283.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.009076, allocations: 3.984 kB / 283.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.009765, allocations: 0.8027 MB / 284.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.00977, allocations: 7.984 kB / 284.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.009995, allocations: 87.91 kB / 284.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009998, allocations: 0 / 284.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01001, allocations: 20 kB / 284.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01002, allocations: 7.984 kB / 284.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01002, allocations: 3.938 kB / 284.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.01042, allocations: 0.6039 MB / 285.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.01044, allocations: 19.86 kB / 285.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01046, allocations: 8 kB / 285.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.01054, allocations: 8 kB / 285.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.01058, allocations: 35.88 kB / 285.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01059, allocations: 8 kB / 285.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.01064, allocations: 159.1 kB / 285.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 4 kB / 285.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.01088, allocations: 80 kB / 285.6 MB, free: 8.312 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.242e-05/0.01096, allocations: 107.2 kB / 285.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.01118, allocations: 210 kB / 285.9 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01119, allocations: 0 / 285.9 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.01128, allocations: 120.4 kB / 286.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01163, allocations: 75.33 kB / 286.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.01238, allocations: 0.8024 MB / 286.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.165e-05/0.01244, allocations: 105.4 kB / 287 MB, free: 6.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.841e-05/0.01252, allocations: 34.95 kB / 287.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.01266, allocations: 134.2 kB / 287.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01266, allocations: 0 / 287.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of Templates: time 0.004749/0.01741, allocations: 3.395 MB / 290.6 MB, free: 3.336 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.821593139320612]