Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001001/0.001001, allocations: 84.73 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.001093/0.001093, allocations: 164.2 kB / 24.91 MB, free: 8.75 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.2 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 34.85 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.047e-06/4.047e-06, allocations: 4 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.61e-05, allocations: 7.234 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003666/0.003702, allocations: 1.762 MB / 327.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.005015, allocations: 0.9979 MB / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.00511, allocations: 0 / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.005454, allocations: 63.67 kB / 328.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.005711, allocations: 107.5 kB / 329 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.005872, allocations: 75.61 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.006009, allocations: 108.4 kB / 329.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.006053, allocations: 12.2 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.006141, allocations: 55.78 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.006225, allocations: 43.88 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.006238, allocations: 4 kB / 329.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.006305, allocations: 35.92 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.006343, allocations: 15.94 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.006374, allocations: 27.84 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.006519, allocations: 83.67 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006523, allocations: 0 / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.006524, allocations: 0 / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.006529, allocations: 0 / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003742/0.006903, allocations: 313.6 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.006937, allocations: 16.03 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.006969, allocations: 8.922 kB / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.007125, allocations: 142.3 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.007141, allocations: 8.375 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.007148, allocations: 384 / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.007251, allocations: 57.77 kB / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007259, allocations: 192 / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.007266, allocations: 384 / 330 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.007272, allocations: 3.938 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.007294, allocations: 7.984 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.727e-05/0.007381, allocations: 74.64 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.007459, allocations: 41.42 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.007476, allocations: 8.859 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.007488, allocations: 7.984 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.415e-05/0.007572, allocations: 62.2 kB / 330.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.21e-07/0.007573, allocations: 3.938 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001157/0.007689, allocations: 57.62 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.007724, allocations: 51.41 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.007823, allocations: 185.2 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.007836, allocations: 33.7 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.007859, allocations: 92.12 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.007887, allocations: 15.83 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.007915, allocations: 25.7 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.007987, allocations: 318.8 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.008001, allocations: 6.828 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.008021, allocations: 25.69 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.00806, allocations: 35.3 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.008062, allocations: 0 / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.929e-05/0.008121, allocations: 60.77 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.008134, allocations: 11.94 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.008139, allocations: 64 / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.008153, allocations: 4 kB / 331.1 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.008207, allocations: 11.98 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.008212, allocations: 4 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.008237, allocations: 3.938 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.008243, allocations: 4 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.164e-05/0.008304, allocations: 112.7 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.008316, allocations: 11.98 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.008399, allocations: 66.8 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008401, allocations: 0 / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.008403, allocations: 0 / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008407, allocations: 3.938 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.763e-05/0.008484, allocations: 85.86 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008485, allocations: 0 / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.008502, allocations: 7.984 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.008503, allocations: 0 / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008509, allocations: 4 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.008512, allocations: 4 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008513, allocations: 4 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.064e-05/0.008573, allocations: 82.7 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.008587, allocations: 15.91 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008602, allocations: 7.875 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.008624, allocations: 8 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.008646, allocations: 3.984 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.008656, allocations: 4 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.008695, allocations: 51.64 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008695, allocations: 0 / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001128/0.008808, allocations: 19.94 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001061/0.009869, allocations: 0.4977 MB / 332.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.36e-05/0.009953, allocations: 28.78 kB / 332.1 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.009957, allocations: 3.938 kB / 332.1 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.009984, allocations: 24.84 kB / 332.1 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.01012, allocations: 27.47 kB / 332.2 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.01041, allocations: 203.1 kB / 332.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.234e-05/0.01044, allocations: 63.41 kB / 332.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.765e-05/0.01047, allocations: 12.48 kB / 332.4 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.01053, allocations: 67.36 kB / 332.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of SimCode: time 4.9e-07/0.01053, allocations: 0 / 332.5 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of Templates: time 0.003466/0.014, allocations: 1.763 MB / 334.3 MB, free: 14.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.975781307090074]