Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001163/0.001163, allocations: 91.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.001365/0.001365, allocations: 156.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 1.017/1.017, allocations: 177 MB / 204.8 MB, free: 5.59 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.2832/0.2832, allocations: 34.87 MB / 296.3 MB, free: 0.5312 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.349e-05, allocations: 4.422 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003355/0.003389, allocations: 1.653 MB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.004506, allocations: 0.5369 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.004584, allocations: 4 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.004896, allocations: 79.64 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003778/0.005274, allocations: 103.5 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.00557, allocations: 99.62 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.005762, allocations: 91.67 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.005869, allocations: 8 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.005955, allocations: 47.88 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.006074, allocations: 51.89 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.006092, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.006176, allocations: 51.91 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.006227, allocations: 19.92 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.006258, allocations: 11.94 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.006407, allocations: 91.72 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006409, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00641, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.006415, allocations: 0 / 381.6 MB, free: 15.19 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.000395/0.00681, allocations: 451.8 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.006844, allocations: 8.031 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.006885, allocations: 16.84 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.007017, allocations: 145.1 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.007027, allocations: 4.375 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.007049, allocations: 384 / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.007163, allocations: 66.92 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007171, allocations: 4.188 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.007181, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.007188, allocations: 384 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.007222, allocations: 19.86 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.007509, allocations: 291.7 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.007571, allocations: 46.98 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.007594, allocations: 11.69 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.007614, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.007641, allocations: 49.41 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.007642, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005363/0.008179, allocations: 165.3 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.008214, allocations: 51.41 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.008374, allocations: 238.4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.008385, allocations: 25.7 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.008445, allocations: 158.8 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.008468, allocations: 31.73 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.008499, allocations: 23.38 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.008609, allocations: 0.5001 MB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.008628, allocations: 11.98 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.008648, allocations: 11.94 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.008694, allocations: 39.73 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008695, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.636e-05/0.008781, allocations: 81.53 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.008793, allocations: 4 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.008797, allocations: 0 / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.008813, allocations: 0 / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.008884, allocations: 12 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.00889, allocations: 8.25 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.008909, allocations: 7.984 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.008915, allocations: 4 kB / 384.1 MB, free: 12.52 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 (8): * Single equations (assignments): 8 * 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.725e-05/0.008983, allocations: 160.5 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.009007, allocations: 19.84 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.009142, allocations: 87.12 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.009146, allocations: 7.984 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.00915, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.009153, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.009443, allocations: 373 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009445, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.009485, allocations: 23.95 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009487, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.009495, allocations: 4.422 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009496, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009497, allocations: 0 / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.009623, allocations: 243.4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.009631, allocations: 7.953 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.009643, allocations: 4 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.009676, allocations: 3.984 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.009705, allocations: 15.92 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.009711, allocations: 8 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.232e-05/0.009793, allocations: 167.2 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009793, allocations: 3.938 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000171/0.009964, allocations: 19.94 kB / 385.2 MB, free: 11.31 MB / 362.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 (8): * Single equations (assignments): 8 * 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.0008969/0.01086, allocations: 413.2 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.01098, allocations: 55.56 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01099, allocations: 0 / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.01102, allocations: 27.67 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01123, allocations: 31.12 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.01159, allocations: 233.8 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.747e-05/0.01164, allocations: 71.34 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.01167, allocations: 16.72 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.01171, allocations: 16.5 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01171, allocations: 0 / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Templates: time 0.003254/0.01496, allocations: 1.368 MB / 387.4 MB, free: 9.172 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.3833100739866495]