Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001331/0.001331, allocations: 82.59 kB / 21.42 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.0009335/0.0009335, allocations: 167.1 kB / 24.82 MB, free: 9.227 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.9953/0.9953, allocations: 177 MB / 205.1 MB, free: 5.445 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.2369/0.2369, 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.CombiTable2Dv.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.53e-05, allocations: 3.719 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003035/0.00306, allocations: 1.689 MB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.00408, allocations: 0.5642 MB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.004152, allocations: 3.938 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.004766, allocations: 458.9 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005135/0.005279, allocations: 303.1 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.005712, allocations: 171.5 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.005965, allocations: 179.7 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.006073, allocations: 12 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.006236, allocations: 127.7 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.0065, allocations: 243.5 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.006521, allocations: 4 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.006613, allocations: 43.91 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.006711, allocations: 79.72 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.006757, allocations: 39.73 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.007049, allocations: 199.2 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.007053, allocations: 4 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007054, allocations: 0 / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.007059, allocations: 0 / 383.3 MB, free: 13.71 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.0005041/0.007564, allocations: 0.7086 MB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.007599, allocations: 12.03 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.007643, allocations: 44.66 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.00781, allocations: 252.8 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.007818, allocations: 384 / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.007834, allocations: 4.375 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.705e-05/0.007932, allocations: 62.94 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.007945, allocations: 4.172 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.007951, allocations: 384 / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.007956, allocations: 384 / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.007981, allocations: 15.86 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.00828, allocations: 352.2 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.008334, allocations: 35.06 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.008351, allocations: 15.77 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.00837, allocations: 0 / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.008391, allocations: 37.33 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.008392, allocations: 0 / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003057/0.008698, allocations: 153.5 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.008721, allocations: 55.41 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.009071, allocations: 0.6079 MB / 385.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.009081, allocations: 25.7 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.009219, allocations: 298.6 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.009243, allocations: 35.77 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.009271, allocations: 23.38 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.00947, allocations: 0.5586 MB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.009492, allocations: 4 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.009513, allocations: 8 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.009572, allocations: 31.66 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.009573, allocations: 0 / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.923e-05/0.009672, allocations: 109.3 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.009683, allocations: 4 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009687, allocations: 0 / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.009699, allocations: 4 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.009766, allocations: 27.97 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.009768, allocations: 0 / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.009796, allocations: 4 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.009801, allocations: 0 / 386.8 MB, free: 10.04 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 8.33e-05/0.009884, allocations: 160.6 kB / 386.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.009921, allocations: 55.61 kB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.01005, allocations: 101.8 kB / 387.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01005, allocations: 4 kB / 387.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01005, allocations: 3.984 kB / 387.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01006, allocations: 4 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.01033, allocations: 394 kB / 387.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01034, allocations: 3.938 kB / 387.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.01037, allocations: 19.92 kB / 387.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01037, allocations: 0 / 387.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.01038, allocations: 8 kB / 387.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01038, allocations: 0 / 387.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01038, allocations: 0 / 387.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01051, allocations: 247.6 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.01054, allocations: 39.66 kB / 387.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01056, allocations: 4 kB / 387.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.01064, allocations: 11.94 kB / 387.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.01067, allocations: 7.984 kB / 387.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.01068, allocations: 0 / 387.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.01091, allocations: 398.6 kB / 388.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01091, allocations: 0 / 388.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.01107, allocations: 27.94 kB / 388.2 MB, free: 8.512 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.0007259/0.0118, allocations: 377.9 kB / 388.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.01188, allocations: 31.67 kB / 388.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01188, allocations: 0 / 388.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.01191, allocations: 35.59 kB / 388.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.01214, allocations: 38.5 kB / 388.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.01271, allocations: 0.5888 MB / 389.3 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.01278, allocations: 123.2 kB / 389.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.01282, allocations: 12.7 kB / 389.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.01288, allocations: 82.19 kB / 389.5 MB, free: 7.285 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01288, allocations: 0 / 389.5 MB, free: 7.285 MB / 362.7 MB Notification: Performance of Templates: time 0.003734/0.01662, allocations: 1.66 MB / 391.2 MB, free: 5.641 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.998033947777003]