Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001038/0.001038, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001084/0.001084, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.9997/0.9997, allocations: 177 MB / 204.8 MB, free: 5.219 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.261/0.261, allocations: 34.87 MB / 296.3 MB, free: 500 kB / 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.823e-05, allocations: 4.422 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002152/0.00218, allocations: 1.642 MB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003409, allocations: 1.297 MB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.003467, allocations: 0 / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.003692, allocations: 27.78 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.003996, allocations: 83.56 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.00426, allocations: 115.6 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.004391, allocations: 87.77 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.00449, allocations: 19.94 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.004552, allocations: 47.83 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.00464, allocations: 27.89 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.004656, allocations: 8 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.004793, allocations: 91.88 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.004835, allocations: 11.94 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.004866, allocations: 15.92 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.005084, allocations: 151.5 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005086, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005087, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005091, allocations: 4 kB / 382.4 MB, free: 14.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006844/0.005776, allocations: 432 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.005811, allocations: 8.031 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.005857, allocations: 20.83 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.006006, allocations: 148.4 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.006014, allocations: 384 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.006042, allocations: 8.359 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.00618, allocations: 116 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.006188, allocations: 192 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.006197, allocations: 384 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.006204, allocations: 4.375 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.006242, allocations: 27.86 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.00654, allocations: 291.7 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/0.006608, allocations: 51.08 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.006632, allocations: 15.69 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.006655, allocations: 4 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.006675, allocations: 37.45 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.006675, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003824/0.007058, allocations: 133.4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.007093, allocations: 77.11 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.00721, allocations: 205.8 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.007221, allocations: 33.7 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.007273, allocations: 142.9 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.007297, allocations: 27.73 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.007331, allocations: 31.36 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.007441, allocations: 0.4884 MB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.007463, allocations: 7.984 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.007502, allocations: 61.06 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.007549, allocations: 35.62 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007551, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.999e-05/0.007641, allocations: 81.61 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.007652, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.007656, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.007669, allocations: 0 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.007744, allocations: 15.98 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.00775, allocations: 4 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.00777, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.007776, allocations: 4 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.046e-05/0.007847, allocations: 168.4 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.007871, allocations: 15.89 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.008007, allocations: 94.67 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.008009, allocations: 0 / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.008014, allocations: 4 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008017, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.008274, allocations: 361.2 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008275, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.008312, allocations: 12 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.008315, allocations: 4 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.008322, allocations: 4 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.008324, allocations: 384 / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.008325, allocations: 3.984 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.008442, allocations: 227.8 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.008452, allocations: 11.95 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.008464, allocations: 0 / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.0085, allocations: 11.98 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.008527, allocations: 0 / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.008532, allocations: 4 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.026e-05/0.008592, allocations: 157.3 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008592, allocations: 0 / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.008795, allocations: 39.86 kB / 386 MB, free: 10.51 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001037/0.009832, allocations: 480.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.00995, allocations: 47.53 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009952, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.009982, allocations: 31.67 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01018, allocations: 26.33 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.01052, allocations: 198.2 kB / 386.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.01056, allocations: 71.19 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.589e-05/0.0106, allocations: 17.02 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.01064, allocations: 16.5 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01064, allocations: 4 kB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of Templates: time 0.003447/0.01408, allocations: 1.927 MB / 388.8 MB, free: 7.801 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.433479786850512]