Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.002004/0.002004, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002846/0.002846, allocations: 156.8 kB / 24.27 MB, free: 156 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.613/1.613, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3599/0.3599, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.111e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003595/0.003626, allocations: 1.691 MB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.004885, allocations: 0.5486 MB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.004959, allocations: 0 / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.005639, allocations: 455 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006065/0.006245, allocations: 291.2 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.006636, allocations: 135.5 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.007001, allocations: 175.6 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.00711, allocations: 12 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.007341, allocations: 123.8 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.007694, allocations: 243.6 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.007728, allocations: 8 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.007883, allocations: 51.86 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.00802, allocations: 87.7 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.008085, allocations: 39.73 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.00851, allocations: 243.1 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.008517, allocations: 4 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.008519, allocations: 0 / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.008526, allocations: 0 / 381.3 MB, free: 14.81 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001061/0.009588, allocations: 0.7239 MB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.009629, allocations: 8.031 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.009743, allocations: 52.66 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.01012, allocations: 248.8 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.01013, allocations: 384 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.01016, allocations: 8.375 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.01031, allocations: 58.17 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.01033, allocations: 192 / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.01034, allocations: 8.312 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.01035, allocations: 384 / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.01045, allocations: 27.92 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.01117, allocations: 471.6 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.0113, allocations: 55.05 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.01135, allocations: 15.69 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.01138, allocations: 7.922 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.01142, allocations: 41.47 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.01142, allocations: 0 / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.01243, allocations: 292.6 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.01248, allocations: 51.41 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/0.01333, allocations: 0.6746 MB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.01336, allocations: 25.7 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.01367, allocations: 310.7 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.01372, allocations: 27.8 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.0138, allocations: 31.36 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003843/0.01418, allocations: 0.5703 MB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.01426, allocations: 23.98 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.01432, allocations: 19.98 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.01447, allocations: 59.89 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01447, allocations: 4 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002793/0.01475, allocations: 133.3 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.01477, allocations: 8 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01478, allocations: 0 / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01479, allocations: 0 / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.0149, allocations: 15.98 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.0149, allocations: 0 / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.01496, allocations: 4 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01497, allocations: 8 kB / 385.3 MB, free: 10.65 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 0.0001592/0.01513, allocations: 172.5 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.01521, allocations: 43.72 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.01555, allocations: 145.4 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01555, allocations: 0 / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01556, allocations: 0 / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01556, allocations: 0 / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.01641, allocations: 0.5711 MB / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01642, allocations: 0 / 386.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.01649, allocations: 24.02 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01649, allocations: 0 / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.0165, allocations: 0 / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.01651, allocations: 4 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01652, allocations: 0 / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.01688, allocations: 295.2 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.01694, allocations: 31.72 kB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.01697, allocations: 8 kB / 386.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.01705, allocations: 0 / 386.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.01709, allocations: 11.92 kB / 386.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.0171, allocations: 8 kB / 386.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005108/0.01761, allocations: 438.8 kB / 387 MB, free: 8.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01761, allocations: 0 / 387 MB, free: 8.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002734/0.01788, allocations: 28 kB / 387 MB, free: 8.809 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.003355/0.02124, allocations: 486 kB / 387.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.02149, allocations: 71.59 kB / 387.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02149, allocations: 0 / 387.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.811e-05/0.02159, allocations: 43.61 kB / 387.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.02197, allocations: 32.09 kB / 387.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02309, allocations: 0.6134 MB / 388.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.02336, allocations: 216 kB / 388.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.02343, allocations: 13.03 kB / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.02348, allocations: 16.5 kB / 388.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02348, allocations: 0 / 388.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of Templates: time 0.006094/0.02958, allocations: 1.565 MB / 390 MB, free: 5.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.959851020947099]