Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001359/0.001359, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001442/0.001442, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.924/0.924, allocations: 177 MB / 205.1 MB, free: 5.461 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.2867/0.2867, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.413e-05, allocations: 3.297 kB / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003368/0.003392, allocations: 1.643 MB / 380.9 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.004429, allocations: 0.533 MB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.004503, allocations: 4 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.004799, allocations: 75.7 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.005142, allocations: 107.5 kB / 381.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.005445, allocations: 99.56 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.005629, allocations: 83.75 kB / 381.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005743, allocations: 15.98 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.747e-05/0.005841, allocations: 39.89 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.005957, allocations: 59.86 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.005974, allocations: 4 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006076, allocations: 47.86 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.006125, allocations: 19.94 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.006154, allocations: 19.91 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.006334, allocations: 87.67 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006337, allocations: 0 / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006338, allocations: 0 / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.006342, allocations: 0 / 382.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000424/0.006766, allocations: 439.9 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.006807, allocations: 12.03 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.006848, allocations: 16.84 kB / 382.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.007004, allocations: 153.1 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.007013, allocations: 384 / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.007031, allocations: 8.375 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.007141, allocations: 58.94 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.00715, allocations: 192 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.007156, allocations: 384 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.007161, allocations: 384 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.007192, allocations: 15.92 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.00748, allocations: 272.3 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.007544, allocations: 35.14 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.007563, allocations: 15.67 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.007609, allocations: 4 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.007634, allocations: 41.39 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.007635, allocations: 3.938 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005295/0.008164, allocations: 153.8 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.008192, allocations: 51.41 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.008353, allocations: 238.3 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.008367, allocations: 29.7 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.00844, allocations: 162.7 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.008657, allocations: 27.8 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.008697, allocations: 27.36 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.008831, allocations: 0.4962 MB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.008851, allocations: 11.98 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.008869, allocations: 7.984 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.008917, allocations: 27.69 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.008918, allocations: 0 / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001076/0.009026, allocations: 73.75 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.009038, allocations: 4 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.009044, allocations: 4 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.009057, allocations: 4 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.009136, allocations: 15.98 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.00914, allocations: 8.062 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.009168, allocations: 4 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.009174, allocations: 4 kB / 384.5 MB, free: 12.36 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.634e-05/0.00925, allocations: 160.5 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.009288, allocations: 23.84 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.009436, allocations: 87.06 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009438, allocations: 0 / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.009439, allocations: 0 / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.009444, allocations: 0 / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.009796, allocations: 353.5 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.009798, allocations: 0 / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.009853, allocations: 12 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009855, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.009864, allocations: 15.92 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.009866, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.009868, allocations: 3.938 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.01002, allocations: 227.5 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.01003, allocations: 11.91 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01005, allocations: 0 / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.01011, allocations: 16.02 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.01014, allocations: 4 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.01014, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.01023, allocations: 167.1 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01023, allocations: 0 / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.01052, allocations: 20 kB / 385.5 MB, free: 11.2 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.001287/0.0118, allocations: 432.9 kB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.0119, allocations: 39.66 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0119, allocations: 4 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.01194, allocations: 27.61 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.01225, allocations: 27.92 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.01264, allocations: 225.9 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.113e-05/0.01269, allocations: 71.33 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.01274, allocations: 8.734 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.01282, allocations: 86.25 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01282, allocations: 0 / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003687/0.01651, allocations: 1.506 MB / 388 MB, free: 8.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 2.977571306284517]