Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001011/0.001011, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009378/0.0009378, allocations: 160.5 kB / 24.55 MB, free: 16 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.9399/0.9399, allocations: 177 MB / 204.8 MB, free: 5.605 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.2697/0.2697, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.229e-05, allocations: 3.156 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.005603/0.005625, allocations: 1.707 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.007033, allocations: 1.316 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.007089, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.0103, allocations: 27.78 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.01063, allocations: 91.53 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.01101, allocations: 175.5 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.01115, allocations: 79.77 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.01124, allocations: 15.97 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.0113, allocations: 35.91 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.0114, allocations: 31.91 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.01141, allocations: 4 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.01156, allocations: 99.75 kB / 382.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.01161, allocations: 19.92 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.01164, allocations: 19.97 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.01186, allocations: 147.4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01186, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01186, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.01187, allocations: 0 / 382.5 MB, free: 14.3 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.000416/0.01228, allocations: 424 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.01232, allocations: 11.97 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.01236, allocations: 16.89 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.01251, allocations: 148.4 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.01252, allocations: 384 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.01254, allocations: 8.375 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.01269, allocations: 112 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.0127, allocations: 192 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.01271, allocations: 4.375 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.01272, allocations: 384 / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.01276, allocations: 15.92 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.01306, allocations: 287.7 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.857e-05/0.01314, allocations: 50.98 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.01317, allocations: 11.69 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/0.0162, allocations: 4 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.01622, allocations: 37.33 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.01622, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004184/0.01664, allocations: 137.5 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.0168, allocations: 77.11 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.01692, allocations: 197.9 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.01693, allocations: 25.7 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.01698, allocations: 142.9 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.01701, allocations: 27.75 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.01705, allocations: 31.36 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.01716, allocations: 0.4923 MB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.01718, allocations: 4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.01723, allocations: 57 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.01728, allocations: 31.69 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01729, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/0.01739, allocations: 77.56 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.01741, allocations: 6.656 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.01741, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.01742, allocations: 8.031 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.01751, allocations: 19.92 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.01752, allocations: 0 / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.01755, allocations: 7.984 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.01756, allocations: 7.938 kB / 385 MB, free: 11.62 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 (7): * Single equations (assignments): 7 * 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.539e-05/0.01762, allocations: 156.6 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.01765, allocations: 12.17 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.01779, allocations: 82.75 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0178, allocations: 3.984 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.0178, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.0178, allocations: 7.984 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.01808, allocations: 341.3 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01808, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-05/0.01814, allocations: 15.98 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01814, allocations: 4 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.01815, allocations: 4 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01815, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01815, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01829, allocations: 223.8 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.0183, allocations: 7.953 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01832, allocations: 8 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.01837, allocations: 7.984 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.01841, allocations: 8 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.01841, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.557e-05/0.01848, allocations: 151.2 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01848, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01875, allocations: 43.86 kB / 386 MB, free: 10.48 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 (7): * Single equations (assignments): 7 * 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.004063/0.02281, allocations: 477 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.02294, allocations: 47.59 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02294, allocations: 0 / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.02298, allocations: 23.69 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.02325, allocations: 30.83 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.02359, allocations: 204.8 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.02364, allocations: 71.28 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.296e-05/0.0237, allocations: 25 kB / 386.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.02374, allocations: 16.5 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02374, allocations: 0 / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of Templates: time 0.007219/0.03096, allocations: 2.199 MB / 389.1 MB, free: 7.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.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.1308405767194927]