Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.002229/0.002229, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002509/0.002509, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.617/1.617, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3601/0.3601, allocations: 34.26 MB / 295.2 MB, free: 0.6406 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.986e-05, allocations: 4.703 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003313/0.003343, allocations: 1.626 MB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.004586, allocations: 0.5409 MB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.004645, allocations: 0 / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.004995, allocations: 83.69 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.005382, allocations: 99.53 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.005789, allocations: 119.6 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.005997, allocations: 79.77 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.006117, allocations: 15.97 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.006226, allocations: 47.83 kB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.006352, allocations: 47.94 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.006373, allocations: 4 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.00651, allocations: 51.86 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.006574, allocations: 27.91 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.006613, allocations: 11.94 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.006864, allocations: 111.6 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.006869, allocations: 0 / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.006871, allocations: 0 / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.006879, allocations: 0 / 380.1 MB, free: 0 / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000735/0.007614, allocations: 443.5 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.007652, allocations: 12.03 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.007707, allocations: 12.84 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.007946, allocations: 153.1 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.007958, allocations: 4.312 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.007986, allocations: 12.36 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.008135, allocations: 46.25 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.008149, allocations: 192 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.008166, allocations: 8.359 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.008171, allocations: 384 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.3e-05/0.008264, allocations: 19.92 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.008772, allocations: 311.7 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.008894, allocations: 43.16 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.008944, allocations: 19.67 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.00897, allocations: 4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.00901, allocations: 41.33 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.009011, allocations: 0 / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009071/0.009918, allocations: 205.2 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.00997, allocations: 51.41 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.01025, allocations: 254.4 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01028, allocations: 29.69 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.0104, allocations: 154.9 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.01044, allocations: 35.73 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.0105, allocations: 27.38 kB / 381.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000585/0.01108, allocations: 0.5079 MB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.01116, allocations: 15.98 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.01122, allocations: 20.06 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.01137, allocations: 51.81 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01137, allocations: 4 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002207/0.0116, allocations: 101.4 kB / 382.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.01162, allocations: 12 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01162, allocations: 0 / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01164, allocations: 0 / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01174, allocations: 15.98 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01175, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.01179, allocations: 4 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.0118, allocations: 4 kB / 382.7 MB, free: 13.21 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 0.0001304/0.01193, allocations: 156.6 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.01198, allocations: 23.84 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.01229, allocations: 115 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.0123, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.0123, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0123, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.01293, allocations: 409 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01293, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.013, allocations: 15.98 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.013, allocations: 432 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01301, allocations: 4 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01301, allocations: 0 / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01301, allocations: 4.031 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.01335, allocations: 263.4 kB / 383.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.01337, allocations: 11.94 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.01339, allocations: 3.984 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.01346, allocations: 8 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.0135, allocations: 0 / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01351, allocations: 7.984 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.01367, allocations: 175.2 kB / 383.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01367, allocations: 0 / 383.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.01392, allocations: 23.88 kB / 383.9 MB, free: 11.93 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: 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.003391/0.01731, allocations: 496.2 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.01759, allocations: 63.59 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.0176, allocations: 4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.01769, allocations: 39.61 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.01804, allocations: 15.98 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.01867, allocations: 249.9 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.01878, allocations: 88.8 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.47e-05/0.01885, allocations: 25.08 kB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01889, allocations: 16.5 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0189, allocations: 0 / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Templates: time 0.005084/0.02398, allocations: 1.409 MB / 386.2 MB, free: 9.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9705372779862955]