Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001105/0.001105, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001603/0.002707, 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.001165/0.001165, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.00267, 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.991/0.991, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08777/1.079, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.2713/0.2713, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02765/0.2989, 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 293.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.583e-05, allocations: 4.281 kB / 293.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002772/0.002788, allocations: 1.771 MB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.004506, allocations: 1.005 MB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.004593, allocations: 0 / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.004867, allocations: 63.72 kB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.005192, allocations: 111.4 kB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.005434, allocations: 75.62 kB / 297 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.005645, allocations: 103.7 kB / 297.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.005691, allocations: 8.219 kB / 297.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.005878, allocations: 87.7 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005988, allocations: 39.88 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.006005, allocations: 4 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.006092, allocations: 28 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.006142, allocations: 19.86 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.006183, allocations: 19.94 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.006369, allocations: 91.61 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/0.006385, allocations: 0 / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006386, allocations: 0 / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.006404, allocations: 0 / 297.4 MB, free: 1.676 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005793/0.006983, allocations: 317.2 kB / 297.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.00702, allocations: 12.92 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.007062, allocations: 8.922 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.007245, allocations: 146.3 kB / 297.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.007263, allocations: 4.375 kB / 297.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.007273, allocations: 384 / 297.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.007399, allocations: 69.75 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007408, allocations: 4.125 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.007416, allocations: 384 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007423, allocations: 3.938 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.007459, allocations: 7.984 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.007569, allocations: 78.53 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.007684, allocations: 41.42 kB / 298 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.007711, allocations: 8.859 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.007725, allocations: 7.984 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.007846, allocations: 66.16 kB / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.007847, allocations: 0 / 298.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001468/0.007994, allocations: 57.69 kB / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.00803, allocations: 51.41 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.008242, allocations: 185.2 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.008258, allocations: 25.7 kB / 298.4 MB, free: 476 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.008293, allocations: 92.12 kB / 298.5 MB, free: 380 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.008325, allocations: 15.89 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.008371, allocations: 21.7 kB / 298.6 MB, free: 336 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.008468, allocations: 318.8 kB / 298.9 MB, free: 8 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.008506, allocations: 14.83 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.008537, allocations: 25.62 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.446e-05/0.008592, allocations: 35.36 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008594, allocations: 0 / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.068e-05/0.008685, allocations: 56.45 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.008701, allocations: 8 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.008706, allocations: 0 / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.008715, allocations: 0 / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.008795, allocations: 15.98 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008798, allocations: 4.031 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.008841, allocations: 7.938 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.008847, allocations: 4 kB / 299 MB, free: 15.82 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 8.297e-05/0.00893, allocations: 112.7 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.00895, allocations: 11.92 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.009075, allocations: 62.98 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.009079, allocations: 4 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.009082, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.009087, allocations: 3.938 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.009192, allocations: 82.23 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009194, allocations: 4 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.009229, allocations: 11.98 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.009249, allocations: 15.84 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009252, allocations: 3.938 kB / 299.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.009259, allocations: 4 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.00926, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.009263, allocations: 3.984 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.009368, allocations: 90.64 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.00939, allocations: 4 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.289e-05/0.009423, allocations: 0 / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.009453, allocations: 15.97 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.009467, allocations: 4 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.477e-05/0.009532, allocations: 51.64 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009532, allocations: 0 / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.009733, allocations: 16 kB / 299.5 MB, free: 15.27 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.001834/0.01157, allocations: 0.5404 MB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.01167, allocations: 32.72 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.01168, allocations: 4 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.01171, allocations: 20.91 kB / 300.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.0119, allocations: 40.53 kB / 300.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.01263, allocations: 195.1 kB / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.01268, allocations: 75.27 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.611e-05/0.01272, allocations: 12.48 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.0128, allocations: 63.36 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0128, allocations: 0 / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Templates: time 0.00387/0.01667, allocations: 1.797 MB / 302.3 MB, free: 12.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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: 3.0239645270630717]