Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.0009418/0.0009418, allocations: 75.7 kB / 21.7 MB, free: 2.844 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.0009182/0.0009182, allocations: 162.6 kB / 24.99 MB, free: 9.332 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.9643/0.9643, allocations: 177 MB / 205.2 MB, free: 5.617 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.255/0.255, allocations: 34.87 MB / 296.6 MB, free: 0.5742 MB / 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.916e-05, allocations: 6.25 kB / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002566/0.002595, allocations: 1.76 MB / 380.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003945, allocations: 1.009 MB / 381.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.004018, allocations: 3.938 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.004272, allocations: 39.72 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.004546, allocations: 91.53 kB / 381.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.004715, allocations: 83.59 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.004875, allocations: 111.6 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.004957, allocations: 11.98 kB / 381.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.005043, allocations: 51.84 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.005118, allocations: 31.89 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.005133, allocations: 4 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.005219, allocations: 43.92 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.005266, allocations: 15.94 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.005306, allocations: 23.91 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.005495, allocations: 99.59 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005497, allocations: 0 / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005498, allocations: 0 / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005502, allocations: 4 kB / 382.2 MB, free: 14.95 MB / 362.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.0004619/0.005964, allocations: 443.9 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.005998, allocations: 8.031 kB / 382.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.006046, allocations: 16.89 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.006213, allocations: 150.6 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.00623, allocations: 4.312 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.006249, allocations: 4.375 kB / 382.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.00637, allocations: 62.94 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.00638, allocations: 192 / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.006389, allocations: 4.375 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.006397, allocations: 7.938 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.006436, allocations: 15.98 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.006725, allocations: 279.8 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.006833, allocations: 59.11 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.006866, allocations: 15.67 kB / 383.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.006877, allocations: 4 kB / 383.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.643e-05/0.006973, allocations: 68.98 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.006975, allocations: 0 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006144/0.007589, allocations: 165.3 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.00762, allocations: 51.41 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.007764, allocations: 226.6 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007777, allocations: 25.7 kB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.007835, allocations: 150.9 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.007864, allocations: 27.78 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.007903, allocations: 27.31 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.008021, allocations: 0.4962 MB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.00805, allocations: 11.98 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/0.008092, allocations: 43.23 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.008159, allocations: 47.38 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.00816, allocations: 0 / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000133/0.008293, allocations: 105.4 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.008308, allocations: 11.98 kB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.008312, allocations: 0 / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.008322, allocations: 0 / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.008396, allocations: 12 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.008403, allocations: 7.938 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.008435, allocations: 0 / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.008443, allocations: 7.984 kB / 384.7 MB, free: 12.21 MB / 362.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 7.16e-05/0.008515, allocations: 164.6 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.008535, allocations: 15.89 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.008693, allocations: 103.1 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008695, allocations: 0 / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.008698, allocations: 4 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008701, allocations: 0 / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.009006, allocations: 389.3 kB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009007, allocations: 4 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.009037, allocations: 12 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00904, allocations: 4.031 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.009051, allocations: 11.98 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.009052, allocations: 0 / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009053, allocations: 0 / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.009218, allocations: 255.4 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.009231, allocations: 11.91 kB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.009249, allocations: 0 / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.009313, allocations: 8 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.009344, allocations: 7.984 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.009358, allocations: 4 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.458e-05/0.009442, allocations: 171.8 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009442, allocations: 0 / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.009693, allocations: 27.94 kB / 385.9 MB, free: 10.96 MB / 362.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.001037/0.01073, allocations: 427.8 kB / 386.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.01085, allocations: 59.53 kB / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01086, allocations: 0 / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.0109, allocations: 31.67 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.01416, allocations: 32.05 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.01455, allocations: 218.2 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.01459, allocations: 67.33 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.01464, allocations: 21.28 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.01467, allocations: 20.48 kB / 386.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01467, allocations: 4 kB / 386.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.007024/0.0217, allocations: 1.863 MB / 388.6 MB, free: 8.328 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.0696683570276946]