Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001103/0.001103, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001638/0.002741, allocations: 449.7 kB / 10.37 MB, free: 324 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.001019/0.001019, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.002274, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9557/0.9557, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09065/1.046, allocations: 53.87 MB / 243.8 MB, free: 14.89 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.2655/0.2655, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02569/0.2912, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.745e-05, allocations: 3.734 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002164/0.002182, allocations: 1.803 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003343, allocations: 1.023 MB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.00341, allocations: 4 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.003595, allocations: 39.66 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.00378, allocations: 87.55 kB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.003923, allocations: 79.66 kB / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.004079, allocations: 107.6 kB / 297.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.004159, allocations: 4 kB / 297.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.004278, allocations: 87.73 kB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.004361, allocations: 27.91 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.004376, allocations: 4 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.393e-05/0.00445, allocations: 43.92 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.004489, allocations: 15.92 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.00452, allocations: 15.94 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.00466, allocations: 91.69 kB / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.004674, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004675, allocations: 0 / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.004688, allocations: 0 / 297.4 MB, free: 1.652 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004149/0.005103, allocations: 329.1 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.005131, allocations: 12.86 kB / 297.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.005162, allocations: 8.922 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.005309, allocations: 145.6 kB / 297.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.005324, allocations: 4.375 kB / 297.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.005341, allocations: 4.375 kB / 297.9 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.005463, allocations: 61.77 kB / 297.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.005471, allocations: 4.188 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.005479, allocations: 384 / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005484, allocations: 3.938 kB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.005512, allocations: 19.98 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.005709, allocations: 165.9 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/0.005793, allocations: 81.3 kB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.005812, allocations: 12.86 kB / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.005823, allocations: 0 / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.052e-05/0.005914, allocations: 66.22 kB / 298.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.005914, allocations: 0 / 298.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002886/0.006203, allocations: 125.4 kB / 298.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.006231, allocations: 51.41 kB / 298.5 MB, free: 472 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.006317, allocations: 164.2 kB / 298.6 MB, free: 292 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.006331, allocations: 25.7 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.006359, allocations: 96.11 kB / 298.7 MB, free: 160 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.006383, allocations: 23.84 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.006413, allocations: 21.7 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.006507, allocations: 322.8 kB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.006526, allocations: 14.83 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.006552, allocations: 29.25 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.006591, allocations: 40.59 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006592, allocations: 3.938 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.931e-05/0.006661, allocations: 68.48 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006674, allocations: 7.938 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.006678, allocations: 3.938 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.006685, allocations: 0 / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.006751, allocations: 27.92 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006754, allocations: 4.031 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.00678, allocations: 4 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.006785, allocations: 0 / 299.3 MB, free: 15.56 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 (10): * Single equations (assignments): 10 * 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 5.683e-05/0.006842, allocations: 120.6 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.006855, allocations: 15.92 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.006945, allocations: 78.38 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006947, allocations: 0 / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.006949, allocations: 3.984 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.006956, allocations: 0 / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.007158, allocations: 291.5 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.007161, allocations: 4.312 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.007186, allocations: 8 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.007197, allocations: 15.92 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.0072, allocations: 4 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.007209, allocations: 8 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007211, allocations: 0 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007212, allocations: 0 / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.758e-05/0.007309, allocations: 211 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.007324, allocations: 8 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.007362, allocations: 3.984 kB / 300 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.007384, allocations: 8.031 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.007395, allocations: 7.984 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.00743, allocations: 40.97 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00743, allocations: 0 / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000134/0.007564, allocations: 27.98 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001406/0.008969, allocations: 0.6211 MB / 300.8 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.009051, allocations: 48.69 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.009058, allocations: 4 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.009084, allocations: 20.84 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.00925, allocations: 36.42 kB / 300.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.009652, allocations: 228.4 kB / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.009691, allocations: 71.33 kB / 301.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.086e-05/0.009722, allocations: 12.97 kB / 301.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.00978, allocations: 63.38 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.009781, allocations: 0 / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of Templates: time 0.003357/0.01314, allocations: 2.049 MB / 303.3 MB, free: 11.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.8759318459779024]