Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001337/0.001337, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009978/0.0009978, allocations: 164.5 kB / 24.92 MB, free: 8.223 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.9121/0.9121, allocations: 177 MB / 205.2 MB, free: 5.441 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.2292/0.2292, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 3.984 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.67e-05, allocations: 5.344 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001903/0.00192, allocations: 1.681 MB / 327.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.002578, allocations: 0.5408 MB / 328.2 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.002624, allocations: 4 kB / 328.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.002813, allocations: 35.72 kB / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.003026, allocations: 87.53 kB / 328.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.003197, allocations: 91.69 kB / 328.4 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003319, allocations: 91.7 kB / 328.5 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.003395, allocations: 24.72 kB / 328.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.003458, allocations: 39.91 kB / 328.5 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.003525, allocations: 31.89 kB / 328.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.003537, allocations: 4 kB / 328.6 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.003604, allocations: 47.92 kB / 328.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.003641, allocations: 19.91 kB / 328.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.003662, allocations: 15.94 kB / 328.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003785, allocations: 99.53 kB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003786, allocations: 0 / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003787, allocations: 0 / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.00379, allocations: 0 / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002733/0.004063, allocations: 317.7 kB / 329.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.004091, allocations: 8.031 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.004117, allocations: 8.938 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.004496, allocations: 142.8 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004505, allocations: 8.312 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.004523, allocations: 12.36 kB / 329.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.004609, allocations: 63.7 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004616, allocations: 192 / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.004623, allocations: 384 / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004628, allocations: 4.375 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.004657, allocations: 23.86 kB / 329.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.004855, allocations: 195 kB / 329.5 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.004908, allocations: 42.55 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.004922, allocations: 8.859 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.004937, allocations: 4 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.004954, allocations: 38.5 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.004955, allocations: 0 / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004298/0.005385, allocations: 209 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.005409, allocations: 51.41 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.005492, allocations: 158.3 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.005502, allocations: 29.7 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.005527, allocations: 88.14 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.005554, allocations: 47.58 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.005583, allocations: 33.62 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.00565, allocations: 326.8 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.005664, allocations: 8 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.005679, allocations: 11.98 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.005723, allocations: 48.81 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005724, allocations: 4 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.016e-05/0.005794, allocations: 70.8 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005805, allocations: 4 kB / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.005809, allocations: 0 / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.005819, allocations: 0 / 330.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.005884, allocations: 31.92 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.005887, allocations: 0 / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.005904, allocations: 4 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.00591, allocations: 4 kB / 330.7 MB, free: 2.211 MB / 298.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 (13): * Single equations (assignments): 13 * 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 5.69e-05/0.005967, allocations: 124.6 kB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.005985, allocations: 7.984 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.006101, allocations: 106.4 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006103, allocations: 0 / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.006104, allocations: 0 / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.006107, allocations: 0 / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.006359, allocations: 288.1 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00636, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.006405, allocations: 23.98 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006407, allocations: 0 / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-06/0.006411, allocations: 4.031 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.006414, allocations: 7.938 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006415, allocations: 0 / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.794e-05/0.006503, allocations: 181.4 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-06/0.006512, allocations: 11.94 kB / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.006521, allocations: 0 / 331.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.006554, allocations: 8 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.006576, allocations: 7.922 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.00658, allocations: 4 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.159e-05/0.006612, allocations: 38.66 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006612, allocations: 8 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.006746, allocations: 20 kB / 331.5 MB, free: 1.324 MB / 298.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 (13): * Single equations (assignments): 13 * 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.001146/0.007892, allocations: 0.5703 MB / 332.1 MB, free: 1.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.716e-05/0.007969, allocations: 56.75 kB / 332.2 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.007971, allocations: 3.938 kB / 332.2 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.007998, allocations: 28.84 kB / 332.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.008139, allocations: 23.98 kB / 332.2 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.008413, allocations: 229.4 kB / 332.4 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.00845, allocations: 71.34 kB / 332.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.791e-05/0.008488, allocations: 20.53 kB / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.00854, allocations: 63.38 kB / 332.6 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.00854, allocations: 0 / 332.6 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of Templates: time 0.003478/0.01202, allocations: 1.661 MB / 334.2 MB, free: 14.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.8040952389128506]