Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0009399/0.0009399, 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.001271/0.001271, 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.9681/0.9681, allocations: 177 MB / 204.8 MB, free: 5.598 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.298/0.298, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.867e-05, allocations: 3.578 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002233/0.002251, allocations: 1.701 MB / 380.5 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003445, allocations: 1.32 MB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.003497, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.003706, allocations: 27.78 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.003966, allocations: 83.55 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.004231, allocations: 179.4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.004367, allocations: 79.81 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.004457, allocations: 15.98 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.004519, allocations: 43.83 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.004608, allocations: 19.98 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.004624, allocations: 7.938 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.004752, allocations: 95.81 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.00481, allocations: 27.91 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.004838, allocations: 15.98 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005039, allocations: 147.4 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005041, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005042, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.005045, allocations: 4 kB / 382.5 MB, free: 14.31 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.0004263/0.005471, allocations: 432 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005509, allocations: 8.031 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.005557, allocations: 12.88 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.005713, allocations: 139.3 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.005725, allocations: 12.38 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.005745, allocations: 384 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.00591, allocations: 116 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.005922, allocations: 192 / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.005934, allocations: 4.359 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005942, allocations: 384 / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.00598, allocations: 19.92 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.006258, allocations: 291.7 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.006326, allocations: 42.98 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.006351, allocations: 19.69 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.006367, allocations: 0 / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.006392, allocations: 49.41 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.006393, allocations: 0 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003765/0.006769, allocations: 121.4 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.006805, allocations: 81.11 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.006917, allocations: 197.9 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.006928, allocations: 25.7 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.006975, allocations: 138.9 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.006998, allocations: 31.73 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.007031, allocations: 27.38 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.00717, allocations: 0.4923 MB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/0.007202, allocations: 8 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.007263, allocations: 61.08 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.308e-05/0.007326, allocations: 31.67 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007327, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001217/0.007448, allocations: 73.58 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.007461, allocations: 4 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007465, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.007479, allocations: 3.938 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.007585, allocations: 20.02 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.00759, allocations: 3.938 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.007628, allocations: 11.98 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.007637, allocations: 4 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 7.522e-05/0.007712, allocations: 156.6 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.007749, allocations: 15.89 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.007919, allocations: 82.73 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007922, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.007927, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00793, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.008255, allocations: 341.3 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008257, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.008316, allocations: 15.98 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.008319, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.008326, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.008329, allocations: 3.984 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00833, allocations: 4 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.008489, allocations: 223.8 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.0085, allocations: 3.953 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.008519, allocations: 12 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.00858, allocations: 11.98 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.008614, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.008625, allocations: 7.984 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.514e-05/0.0087, allocations: 149.4 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0087, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.008981, allocations: 43.86 kB / 386 MB, free: 10.49 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.001295/0.01028, allocations: 482.2 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01041, allocations: 47.59 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01041, allocations: 4 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.01046, allocations: 27.67 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.0002889/0.01075, allocations: 30.84 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.0003868/0.01113, 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 5.19e-05/0.01119, allocations: 63.34 kB / 386.9 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.01125, allocations: 28.94 kB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.0113, allocations: 20.48 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0113, allocations: 0 / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of Templates: time 0.004111/0.01541, allocations: 2.18 MB / 389.1 MB, free: 7.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.265646896790713]