Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0009085/0.0009085, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002527, 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.001039/0.001039, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.002103, 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.9504/0.9504, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09399/1.044, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2383/0.2383, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03126/0.2696, 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.69e-05, allocations: 3.188 kB / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002141/0.002167, allocations: 1.678 MB / 295.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.002874, allocations: 0.5562 MB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.002929, allocations: 4 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.003046, allocations: 23.8 kB / 296.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.003217, allocations: 75.61 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.003446, allocations: 112.6 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.00357, allocations: 67.78 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.003647, allocations: 11.98 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.003736, allocations: 47.91 kB / 296.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.003789, allocations: 19.92 kB / 296.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.003801, allocations: 4 kB / 296.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.003865, allocations: 35.86 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.003898, allocations: 11.94 kB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.003921, allocations: 4 kB / 296.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.004043, allocations: 71.73 kB / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.636e-05/0.00406, allocations: 0 / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00406, allocations: 4 kB / 296.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.004076, allocations: 3.938 kB / 296.6 MB, free: 2.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003657/0.004441, allocations: 289.4 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.004469, allocations: 8.922 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.004495, allocations: 8.938 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004614, allocations: 137.5 kB / 297 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.004622, allocations: 384 / 297 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.004638, allocations: 4.375 kB / 297 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.841e-05/0.004737, allocations: 58.94 kB / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.004744, allocations: 192 / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.004751, allocations: 4.375 kB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004755, allocations: 4.375 kB / 297.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.004777, allocations: 7.938 kB / 297.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.004977, allocations: 167.1 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.005107, allocations: 37.38 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.005121, allocations: 4.859 kB / 297.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.005137, allocations: 4 kB / 297.3 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.005156, allocations: 30.56 kB / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.005157, allocations: 0 / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002334/0.00539, allocations: 81.58 kB / 297.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.00542, allocations: 59.41 kB / 297.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.0055, allocations: 144.3 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.00551, allocations: 25.7 kB / 297.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.005539, allocations: 92.11 kB / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.005557, allocations: 19.8 kB / 297.8 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.00558, allocations: 17.7 kB / 297.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.005659, allocations: 330.8 kB / 298.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.005671, allocations: 7.938 kB / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.00568, allocations: 4 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.005709, allocations: 23.67 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.00571, allocations: 0 / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.801e-05/0.005758, allocations: 49.69 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.005768, allocations: 7.984 kB / 298.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.005773, allocations: 3.938 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.00578, allocations: 0 / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/0.00582, allocations: 15.94 kB / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005823, allocations: 0 / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.005847, allocations: 7.984 kB / 298.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005851, allocations: 0 / 298.2 MB, free: 0.6445 MB / 282.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 (5): * Single equations (assignments): 5 * 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 6.157e-05/0.005913, allocations: 112.7 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.005935, allocations: 8 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.006024, allocations: 66.38 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006026, allocations: 4 kB / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.006028, allocations: 0 / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.00603, allocations: 288 / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.006197, allocations: 214.8 kB / 298.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.006198, allocations: 0 / 298.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.006231, allocations: 15.98 kB / 298.6 MB, free: 196 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.006242, allocations: 11.88 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006243, allocations: 0 / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.006248, allocations: 4 kB / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006249, allocations: 4 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.006251, allocations: 0 / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.204e-05/0.006323, allocations: 147.5 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.006332, allocations: 3.938 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.006361, allocations: 4 kB / 298.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.006379, allocations: 0 / 298.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.006382, allocations: 3.984 kB / 298.8 MB, free: 0 / 282.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.006422, allocations: 33.55 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006422, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.006555, allocations: 19.94 kB / 298.9 MB, free: 15.95 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001252/0.007807, allocations: 0.5419 MB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.42e-05/0.007871, allocations: 20.84 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.007877, allocations: 7.938 kB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.007893, allocations: 16.84 kB / 299.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.008043, allocations: 20.23 kB / 299.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.008394, allocations: 171.5 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.008434, allocations: 67.33 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.695e-05/0.008461, allocations: 12 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.008514, allocations: 59.36 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008515, allocations: 0 / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of Templates: time 0.002576/0.01109, allocations: 1.272 MB / 301 MB, free: 14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.8678479585796595]