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.001017/0.001017, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001191/0.001191, allocations: 162.1 kB / 25.61 MB, free: 8.547 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.048/1.048, allocations: 177 MB / 205.9 MB, free: 4.418 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.1677/0.1677, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.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.293e-06/1.293e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.341e-05, allocations: 5.156 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001695/0.001709, allocations: 1.757 MB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.002643, allocations: 0.9969 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.00271, allocations: 0 / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.002944, allocations: 35.83 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.003154, allocations: 111.3 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.003283, allocations: 71.69 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.0034, allocations: 107.6 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.964e-05/0.003469, allocations: 4 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.003533, allocations: 59.81 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.003591, allocations: 23.92 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.003604, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.003664, allocations: 47.86 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.003704, allocations: 31.91 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.003732, allocations: 23.86 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.00386, allocations: 95.66 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003862, allocations: 0 / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003862, allocations: 0 / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003866, allocations: 0 / 383.4 MB, free: 19.28 MB / 314.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.0003098/0.004176, allocations: 435.9 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.004211, allocations: 16.02 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.004248, allocations: 8.891 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.00437, allocations: 153 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.004386, allocations: 4.375 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.004401, allocations: 8.328 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.693e-05/0.004488, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.004497, allocations: 4.188 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.004505, allocations: 384 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.00451, allocations: 3.938 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.004534, allocations: 11.98 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.004727, allocations: 260.2 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/0.004806, allocations: 51.22 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.004827, allocations: 19.67 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.004838, allocations: 7.984 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.045e-05/0.004909, allocations: 65.05 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00491, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002742/0.005184, allocations: 133.4 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.005205, allocations: 55.34 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.005297, allocations: 231.8 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.005305, allocations: 25.7 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.005337, allocations: 150.9 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.005359, allocations: 23.84 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.005386, allocations: 31.36 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.005431, allocations: 0.4923 MB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.005447, allocations: 11.98 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.005468, allocations: 35.34 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.005504, allocations: 43.38 kB / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.005505, allocations: 384 / 385.8 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.473e-05/0.00558, allocations: 93.52 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.005589, allocations: 5.719 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005592, allocations: 0 / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.005603, allocations: 8.016 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.005656, allocations: 23.94 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.005659, allocations: 0 / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.005683, allocations: 4 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.005689, allocations: 4 kB / 385.9 MB, free: 16.63 MB / 314.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.236e-05/0.005741, allocations: 162.4 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.005756, allocations: 23.84 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.005859, allocations: 99.06 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.00586, allocations: 0 / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.005862, allocations: 0 / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.005865, allocations: 4 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.006052, allocations: 361.5 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.006053, allocations: 4 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.006075, allocations: 11.98 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006076, allocations: 0 / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006082, allocations: 3.938 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006083, allocations: 4 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006084, allocations: 0 / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.913e-05/0.006173, allocations: 255.4 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.006182, allocations: 11.98 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.006197, allocations: 4 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.006234, allocations: 3.938 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.006258, allocations: 11.98 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.006268, allocations: 4 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.006308, allocations: 159.8 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006308, allocations: 0 / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.006479, allocations: 20 kB / 387 MB, free: 15.43 MB / 314.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.0008705/0.007349, allocations: 433 kB / 387.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.719e-05/0.007437, allocations: 55.58 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007438, allocations: 0 / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.007467, allocations: 35.61 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.007684, allocations: 23.92 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.007952, allocations: 216.2 kB / 387.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.007982, allocations: 75.19 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.008014, allocations: 17.41 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.008069, allocations: 90.19 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008069, allocations: 0 / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of Templates: time 0.004182/0.01225, allocations: 2.057 MB / 390 MB, free: 12.58 MB / 314.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.4065437242388725]