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.001921/0.001921, 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.001936/0.001936, allocations: 164.8 kB / 24.27 MB, free: 152 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.563/1.563, allocations: 177 MB / 204.4 MB, free: 5.625 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.3679/0.3679, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|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.1.|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 1.343e-06/1.343e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.797e-05, allocations: 4.562 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003325/0.003353, allocations: 1.622 MB / 378.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.004514, allocations: 0.5293 MB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.004563, allocations: 3.938 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.004848, allocations: 75.7 kB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.005193, allocations: 111.5 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.005468, allocations: 95.69 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.00565, allocations: 83.75 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.005741, allocations: 11.98 kB / 379.8 MB, free: 364 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.005833, allocations: 47.83 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.005952, allocations: 51.92 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.005972, allocations: 7.938 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.006085, allocations: 43.92 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.00614, allocations: 15.94 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.006185, allocations: 23.91 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.006386, allocations: 103.6 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006389, allocations: 0 / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00639, allocations: 0 / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.006397, allocations: 3.984 kB / 380 MB, free: 64 kB / 346.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.0006482/0.007045, allocations: 451.7 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.00708, allocations: 8.031 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.007135, allocations: 16.84 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.007351, allocations: 141.1 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.007362, allocations: 4.375 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.007388, allocations: 12.3 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.00753, allocations: 54.23 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00754, allocations: 192 / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.007548, allocations: 384 / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.007554, allocations: 4.375 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.007645, allocations: 23.92 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.008104, allocations: 303.7 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008235, allocations: 50.98 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.008286, allocations: 15.69 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.008308, allocations: 0 / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.008351, allocations: 45.41 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.008352, allocations: 4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008463/0.009199, allocations: 201.2 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.009247, allocations: 55.34 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.009754, allocations: 258.4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.009778, allocations: 25.7 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.009903, allocations: 158.9 kB / 381.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.009943, allocations: 27.75 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.009998, allocations: 35.36 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.01028, allocations: 0.5 MB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.01035, allocations: 24.08 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.01041, allocations: 23.97 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01056, allocations: 55.89 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01056, allocations: 0 / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002165/0.01077, allocations: 109.5 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01079, allocations: 4 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.0108, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01081, allocations: 4 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.01091, allocations: 15.98 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.01092, allocations: 4 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.01095, allocations: 0 / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01097, allocations: 8 kB / 382.6 MB, free: 13.25 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.0001294/0.01109, allocations: 164.6 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.01114, allocations: 19.84 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.01142, allocations: 111.1 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.01142, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01143, allocations: 4 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01143, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.01205, allocations: 416.9 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01205, allocations: 0 / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.01212, allocations: 15.98 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01212, allocations: 432 / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01213, allocations: 4 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01213, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01213, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.01245, allocations: 267.4 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.01247, allocations: 15.92 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.01249, allocations: 8 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.01255, allocations: 0 / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01259, allocations: 7.984 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.0126, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.01277, allocations: 175.2 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01277, allocations: 0 / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01301, allocations: 19.94 kB / 383.9 MB, free: 11.95 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.003274/0.01628, allocations: 492.6 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01651, allocations: 71.58 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01651, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.216e-05/0.01661, allocations: 47.59 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.01693, allocations: 19.94 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.01745, allocations: 241.9 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.01756, allocations: 88.81 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.01763, allocations: 17.09 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.01767, allocations: 16.5 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01767, allocations: 0 / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.00486/0.02253, allocations: 1.375 MB / 386.2 MB, free: 9.727 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.893364684074186]