Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001303/0.001303, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001478/0.001478, allocations: 166.3 kB / 24.99 MB, free: 8.801 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.9309/0.9309, allocations: 177 MB / 205.2 MB, free: 5.566 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.2423/0.2423, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.6e-05, allocations: 2.312 kB / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002283/0.002299, allocations: 1.628 MB / 380.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003602, allocations: 1.269 MB / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.003656, allocations: 0 / 381.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.003852, allocations: 27.78 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.004115, allocations: 91.5 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.004311, allocations: 91.62 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.004441, allocations: 63.78 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.004526, allocations: 23.83 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.75e-05/0.004584, allocations: 27.92 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.348e-05/0.004677, allocations: 27.89 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.004693, allocations: 4 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.004826, allocations: 87.89 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.00487, allocations: 15.92 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.004898, allocations: 11.94 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005107, allocations: 143.5 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005109, allocations: 0 / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00511, allocations: 0 / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.005113, allocations: 0 / 382.3 MB, free: 14.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003921/0.005506, allocations: 424 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.005541, allocations: 12.03 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.005588, allocations: 16.89 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.005987, allocations: 128.5 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.005999, allocations: 8.359 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.006018, allocations: 4.312 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.006157, allocations: 108 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.006167, allocations: 192 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.006178, allocations: 4.375 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.006185, allocations: 384 / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.006218, allocations: 11.92 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.006505, allocations: 279.7 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.006659, allocations: 42.98 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.006682, allocations: 11.69 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.0067, allocations: 4 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.006724, allocations: 37.39 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.006725, allocations: 4 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003411/0.007066, allocations: 101.5 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.007104, allocations: 81.09 kB / 383.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.007234, allocations: 197.9 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.007245, allocations: 25.7 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.007298, allocations: 142.9 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.007317, allocations: 15.8 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.007351, allocations: 27.38 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.007462, allocations: 0.4884 MB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.007479, allocations: 7.938 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.007516, allocations: 65 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.007559, allocations: 19.69 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.00756, allocations: 4 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.026e-05/0.007641, allocations: 53.88 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007652, allocations: 8 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.007656, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.007666, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.007712, allocations: 19.94 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007717, allocations: 0 / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.007747, allocations: 11.94 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.007752, allocations: 4.031 kB / 384.6 MB, free: 12.27 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 (5): * Single equations (assignments): 5 * 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.728e-05/0.007819, allocations: 156.6 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.00785, allocations: 15.89 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.007957, allocations: 62.14 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00796, allocations: 4 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.007963, allocations: 0 / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.007966, allocations: 0 / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.008207, allocations: 321.3 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008208, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.00824, allocations: 8 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.008243, allocations: 11.98 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.008249, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.008249, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.00825, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.008361, allocations: 211.8 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.008372, allocations: 7.953 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.008385, allocations: 0 / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.008437, allocations: 8 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.008468, allocations: 4.266 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.008472, allocations: 4.188 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.813e-05/0.00854, allocations: 149.5 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00854, allocations: 4 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.008793, allocations: 39.81 kB / 385.6 MB, free: 11.2 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 (5): * Single equations (assignments): 5 * 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.00103/0.009824, allocations: 486.3 kB / 386.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.08e-05/0.009914, allocations: 35.67 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.009916, allocations: 3.938 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.009941, allocations: 15.69 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.01019, allocations: 19.92 kB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.01049, allocations: 169.9 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01053, allocations: 63.34 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.099e-05/0.01057, allocations: 12.23 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.0106, allocations: 20.5 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0106, allocations: 0 / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Templates: time 0.003754/0.01435, allocations: 1.83 MB / 388.2 MB, free: 8.656 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.141130608972162]