Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.00101/0.00101, allocations: 95.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.0009773/0.0009773, allocations: 160.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.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.574 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.2955/0.2955, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/4.077e-05, allocations: 3.016 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002716/0.002756, allocations: 1.656 MB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.003643, allocations: 0.5331 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.003716, allocations: 4 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.004031, allocations: 127.6 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.004383, allocations: 123.5 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.004661, allocations: 99.62 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.004846, allocations: 99.72 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.004939, allocations: 8 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.672e-05/0.005016, allocations: 63.8 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.005128, allocations: 83.83 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.005143, allocations: 4 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-05/0.005236, allocations: 51.91 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.005291, allocations: 31.86 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.005321, allocations: 11.94 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.005491, allocations: 103.6 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005493, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005494, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.005499, allocations: 0 / 381.8 MB, free: 15.05 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.0004257/0.005925, allocations: 471.6 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.005961, allocations: 12.03 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.006006, allocations: 20.84 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.006153, allocations: 152.4 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.006161, allocations: 4.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.006188, allocations: 8.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.006309, allocations: 54.94 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.006319, allocations: 4.188 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.006327, allocations: 4.359 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.006335, allocations: 4.375 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.006365, allocations: 11.88 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.006664, allocations: 311.6 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.006723, allocations: 35.06 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.006747, allocations: 23.7 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.006765, allocations: 4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.006788, allocations: 45.27 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.00679, allocations: 0 / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005222/0.007312, allocations: 165.3 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.007339, allocations: 51.41 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.007505, allocations: 274.8 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.007517, allocations: 29.7 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.007585, allocations: 174.8 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.007609, allocations: 31.86 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.007641, allocations: 27.38 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.007761, allocations: 0.5001 MB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.007783, allocations: 7.984 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.007801, allocations: 8 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.00785, allocations: 39.61 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007851, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.7e-05/0.007948, allocations: 81.53 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.007961, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.007966, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.00798, allocations: 4 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.008054, allocations: 12 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.00806, allocations: 4.297 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.00809, allocations: 11.94 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.008096, allocations: 0 / 384.3 MB, free: 12.29 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.918e-05/0.008166, allocations: 160.5 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.008194, allocations: 23.84 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.008329, allocations: 91.09 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008332, allocations: 4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.008336, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.008339, allocations: 4 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.008666, allocations: 385 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.008668, allocations: 3.938 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.008719, allocations: 23.94 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.008723, allocations: 3.984 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.00873, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.008732, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.008737, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.008882, allocations: 239.4 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.008896, allocations: 12.38 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.008909, allocations: 8.031 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.53e-05/0.008944, allocations: 7.984 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.008971, allocations: 4 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.008975, allocations: 3.984 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.009077, allocations: 196.1 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009077, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.00925, allocations: 23.92 kB / 385.5 MB, free: 11.03 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.000937/0.01019, allocations: 426.2 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.0103, allocations: 47.66 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.0103, allocations: 0 / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.01033, allocations: 31.61 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01054, allocations: 31.31 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.01092, allocations: 263.2 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.01097, allocations: 75.33 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.011, allocations: 12.8 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.01103, allocations: 16.44 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01103, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003224/0.01425, allocations: 1.401 MB / 387.8 MB, free: 8.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.494044565130025]