Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008349/0.0008349, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002034, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007142/0.0007142, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009931/0.001707, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9788/0.9788, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09538/1.074, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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.3186/0.3186, allocations: 34.87 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02665/0.3453, allocations: 13.24 MB / 292.8 MB, free: 6.371 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.86e-05, allocations: 2.312 kB / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00246/0.002479, allocations: 2.008 MB / 296.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.00385, allocations: 1.072 MB / 297.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.003954, allocations: 4 kB / 297.3 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.004147, allocations: 47.58 kB / 297.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.004402, allocations: 99.36 kB / 297.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.004651, allocations: 99.52 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.004845, allocations: 143.5 kB / 297.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.004939, allocations: 22.45 kB / 297.7 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.005091, allocations: 115.6 kB / 297.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.005172, allocations: 35.91 kB / 297.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.00519, allocations: 12 kB / 297.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.005286, allocations: 43.98 kB / 297.9 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.005334, allocations: 19.88 kB / 297.9 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.005374, allocations: 23.94 kB / 297.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.005576, allocations: 127.4 kB / 298 MB, free: 1.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.005587, allocations: 0 / 298 MB, free: 1.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.005589, allocations: 0 / 298 MB, free: 1.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.005598, allocations: 0 / 298 MB, free: 1.117 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004497/0.006047, allocations: 410.5 kB / 298.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.006075, allocations: 8.922 kB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.006107, allocations: 20.92 kB / 298.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.006268, allocations: 162.3 kB / 298.6 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.006283, allocations: 8.375 kB / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.006305, allocations: 8.375 kB / 298.6 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.006437, allocations: 141.9 kB / 298.8 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.006443, allocations: 4.125 kB / 298.8 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.006453, allocations: 4.375 kB / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.006458, allocations: 3.938 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.006493, allocations: 22.8 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.0068, allocations: 378.1 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.006941, allocations: 97.3 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.00697, allocations: 24.78 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.006981, allocations: 0 / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.007086, allocations: 103.8 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.02e-07/0.007087, allocations: 3.938 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001155/0.007202, allocations: 74.55 kB / 299.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.007223, allocations: 55.41 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.007329, allocations: 188.1 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.007344, allocations: 33.69 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.007391, allocations: 104 kB / 299.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.00741, allocations: 27.73 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.007446, allocations: 33.7 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.00753, allocations: 326.8 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.007547, allocations: 14.81 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.00758, allocations: 44.28 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.00764, allocations: 81.44 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007641, allocations: 0 / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.267e-05/0.007724, allocations: 96.3 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.007738, allocations: 4 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.007742, allocations: 4 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.007749, allocations: 0 / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.007806, allocations: 28.11 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.007811, allocations: 4 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.007844, allocations: 11.95 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.007849, allocations: 4 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.832e-05/0.007917, allocations: 124.6 kB / 300.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.007931, allocations: 15.92 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.008026, allocations: 75.08 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.008027, allocations: 0 / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.008029, allocations: 0 / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.008034, allocations: 3.984 kB / 300.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.242e-05/0.008116, allocations: 105.8 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008118, allocations: 4 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.00816, allocations: 15.98 kB / 300.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.008174, allocations: 11.89 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.008176, allocations: 0 / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.008182, allocations: 0 / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.008184, allocations: 4 kB / 300.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.008185, allocations: 0 / 300.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.008295, allocations: 122.6 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.00831, allocations: 7.938 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.52e-05/0.008335, allocations: 12.03 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.008357, allocations: 3.984 kB / 301 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.00837, allocations: 7.984 kB / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.008416, allocations: 53.72 kB / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008416, allocations: 0 / 301.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.00855, allocations: 31.89 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001174/0.009724, allocations: 0.5513 MB / 301.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.212e-05/0.009806, allocations: 56.89 kB / 301.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.009814, allocations: 11.92 kB / 301.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.009854, allocations: 28.86 kB / 301.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01007, allocations: 236 kB / 302 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.01056, allocations: 265.7 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.01059, allocations: 71.83 kB / 302.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.292e-05/0.01064, allocations: 17.86 kB / 302.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.01072, allocations: 75.36 kB / 302.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01072, allocations: 0 / 302.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004063/0.01479, allocations: 2.228 MB / 304.6 MB, free: 10.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1419552322477102]