Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001008/0.001008, 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.001107/0.001107, allocations: 167.4 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.9792/0.9792, allocations: 177 MB / 205.1 MB, free: 5.477 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.2784/0.2784, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.076e-05, allocations: 7.234 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002817/0.002848, allocations: 1.651 MB / 380.9 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.003593, allocations: 0.5485 MB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.003664, allocations: 0 / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.004115, allocations: 459.1 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.004495, allocations: 291.1 kB / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.004843, allocations: 171.5 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.005057, allocations: 171.6 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.00515, allocations: 11.84 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.005267, allocations: 115.8 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.005446, allocations: 247.5 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.005463, allocations: 4 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.005522, allocations: 23.92 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.005604, allocations: 83.7 kB / 383 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.005637, allocations: 35.75 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.005829, allocations: 187.2 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005832, allocations: 0 / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005833, allocations: 0 / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005837, allocations: 0 / 383.2 MB, free: 13.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005267/0.006363, allocations: 0.7009 MB / 383.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.006401, allocations: 8.031 kB / 383.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.006455, allocations: 44.66 kB / 384 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.006645, allocations: 244.9 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.006655, allocations: 4.375 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.006662, allocations: 4.375 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.006756, allocations: 46.95 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.006762, allocations: 192 / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.006769, allocations: 4.375 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.006774, allocations: 384 / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.006794, allocations: 19.86 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.007115, allocations: 324.3 kB / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.007157, allocations: 27.06 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.007173, allocations: 15.75 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.007196, allocations: 4 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.00722, allocations: 41.33 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.007222, allocations: 0 / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001467/0.007369, allocations: 81.34 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.007396, allocations: 51.41 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.007769, allocations: 0.6119 MB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007781, allocations: 29.7 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.007924, allocations: 302.7 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.007941, allocations: 3.953 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.007968, allocations: 19.38 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.008148, allocations: 0.5586 MB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.008161, allocations: 0 / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.008172, allocations: 4 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.008205, allocations: 15.62 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.008208, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.892e-05/0.008286, allocations: 85.47 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.008299, allocations: 4 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.008305, allocations: 11.94 kB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.008317, allocations: 3.938 kB / 386.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.008377, allocations: 4 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.00838, allocations: 0 / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.008403, allocations: 0 / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.008409, allocations: 0 / 386.4 MB, free: 10.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 (2): * Single equations (assignments): 2 * 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 8.847e-05/0.008497, allocations: 156.6 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.008531, allocations: 43.66 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.008649, allocations: 84.7 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008651, allocations: 4 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.008653, allocations: 0 / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008656, allocations: 0 / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.008828, allocations: 197.1 kB / 386.9 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.00883, allocations: 0 / 386.9 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.008857, allocations: 4 kB / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008859, allocations: 0 / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.008864, allocations: 0 / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.008866, allocations: 0 / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.008868, allocations: 11.97 kB / 386.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.008988, allocations: 227.6 kB / 387.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.009014, allocations: 35.72 kB / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.009027, allocations: 0 / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.009063, allocations: 3.984 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.009076, allocations: 11.92 kB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.009078, allocations: 0 / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.009271, allocations: 390.7 kB / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009271, allocations: 0 / 387.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.009435, allocations: 19.94 kB / 387.6 MB, free: 9.137 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 (2): * Single equations (assignments): 2 * 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.0006884/0.01012, allocations: 328.8 kB / 387.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.01019, allocations: 15.69 kB / 387.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01019, allocations: 0 / 387.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.0102, allocations: 11.62 kB / 388 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01045, allocations: 33.84 kB / 388 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.01102, allocations: 0.5613 MB / 388.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.483e-05/0.0111, allocations: 115.2 kB / 388.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.01113, allocations: 19.95 kB / 388.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.01119, allocations: 78.2 kB / 388.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of SimCode: time 1.103e-06/0.01119, allocations: 0 / 388.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of Templates: time 0.00374/0.01493, allocations: 1.25 MB / 390 MB, free: 6.781 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.9816137147136033]