Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.00103/0.00103, allocations: 91.5 kB / 21.19 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.00105/0.00105, 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 0.9566/0.9566, allocations: 177 MB / 204.8 MB, free: 5.613 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.2796/0.2796, allocations: 34.85 MB / 296.3 MB, free: 0.5586 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 4 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.614e-05, allocations: 2.312 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002363/0.002389, allocations: 1.636 MB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007427/0.003132, allocations: 0.5331 MB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.003188, allocations: 0 / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.003378, allocations: 27.72 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.003652, allocations: 79.62 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.003897, allocations: 91.62 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.004028, allocations: 63.78 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.004114, allocations: 23.83 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.004169, allocations: 31.86 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.004219, allocations: 19.92 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.004232, allocations: 0 / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.004306, allocations: 39.91 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.004351, allocations: 11.94 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.004376, allocations: 8 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.00452, allocations: 71.72 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004522, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004523, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004527, allocations: 0 / 381.4 MB, free: 15.45 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.0003633/0.004891, allocations: 412.1 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.004924, allocations: 8.031 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.004965, allocations: 12.89 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.005089, allocations: 136.5 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.005097, allocations: 384 / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.00512, allocations: 4.375 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005224, allocations: 58.95 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005232, allocations: 192 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.00524, allocations: 384 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005247, allocations: 384 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.062e-05/0.005278, allocations: 15.86 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.005554, allocations: 279.8 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.005707, allocations: 39.05 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.005728, allocations: 15.69 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.005746, allocations: 0 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.005767, allocations: 37.47 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005768, allocations: 3.938 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003309/0.006099, allocations: 97.42 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.00613, allocations: 59.34 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.006242, allocations: 197.3 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006253, allocations: 33.7 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.006302, allocations: 142.9 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.006324, allocations: 23.78 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.006354, allocations: 27.36 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.006462, allocations: 496.1 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.006482, allocations: 7.984 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.006495, allocations: 4 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.006532, allocations: 31.62 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.006533, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.585e-05/0.006609, allocations: 65.52 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006622, allocations: 8 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006627, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006642, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.006693, allocations: 15.98 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.006697, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.006714, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.00672, allocations: 4.25 kB / 383.6 MB, free: 13.05 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 7.241e-05/0.006792, allocations: 156.6 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.006813, allocations: 11.89 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.006939, allocations: 74.14 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006941, allocations: 7.938 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.006944, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006947, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.007186, allocations: 317.4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007188, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.007224, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.007227, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.007235, allocations: 7.984 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.007237, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007238, allocations: 4 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.007342, allocations: 207.8 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.00735, allocations: 11.95 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.007361, allocations: 4 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.007392, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.007423, allocations: 7.984 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.007425, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.631e-05/0.007492, allocations: 147.2 kB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007492, allocations: 0 / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.007657, allocations: 15.98 kB / 384.6 MB, free: 12.02 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.0008158/0.008473, allocations: 380.4 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.008578, allocations: 31.61 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.00858, allocations: 0 / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.008605, allocations: 27.8 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.008828, allocations: 22.11 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.009153, allocations: 182.6 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.893e-05/0.009191, allocations: 63.34 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.712e-05/0.009219, allocations: 7.984 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.009247, allocations: 12.5 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.009248, allocations: 3.938 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003123/0.01237, allocations: 1.153 MB / 386.4 MB, free: 10.21 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.193382903933525]