Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.002062/0.002062, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002524/0.002524, allocations: 156.9 kB / 24.27 MB, free: 172 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.489/1.489, allocations: 177 MB / 204.4 MB, free: 5.617 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.3428/0.3428, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.535e-05, allocations: 6.312 kB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003209/0.003234, allocations: 1.713 MB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.005272, allocations: 0.9853 MB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.00534, allocations: 3.938 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.005638, allocations: 39.7 kB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.00598, allocations: 91.55 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.006199, allocations: 83.59 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.006401, allocations: 115.6 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.006491, allocations: 8 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.006601, allocations: 47.84 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.00669, allocations: 35.83 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.006709, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.006822, allocations: 43.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.006879, allocations: 19.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.006932, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.007182, allocations: 123.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.007186, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007187, allocations: 3.938 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007192, allocations: 0 / 380.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006969/0.007889, allocations: 337.6 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.007941, allocations: 16.02 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.008022, allocations: 12.84 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.008394, allocations: 158.3 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.008414, allocations: 384 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.008448, allocations: 4.375 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.008658, allocations: 62.17 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.008673, allocations: 192 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.008686, allocations: 384 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.008695, allocations: 3.938 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.008787, allocations: 23.98 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.009302, allocations: 236.5 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.00952, allocations: 62.61 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.009605, allocations: 24.83 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.009624, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.009818, allocations: 71.33 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.009819, allocations: 0 / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000649/0.01047, allocations: 181.4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.01052, allocations: 55.41 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01077, allocations: 202.7 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01079, allocations: 25.7 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.01088, allocations: 112.1 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.01092, allocations: 27.78 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.01097, allocations: 21.66 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.01115, allocations: 322.8 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.298e-05/0.01122, allocations: 27.92 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.0113, allocations: 37.7 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01145, allocations: 69.69 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01145, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002252/0.01167, allocations: 109.5 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01169, allocations: 4 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.0117, allocations: 4 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.01171, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.0118, allocations: 12 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01181, allocations: 160 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.01186, allocations: 7.984 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.01187, allocations: 8.031 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001224/0.01199, allocations: 125.8 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.01203, allocations: 19.84 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.0123, allocations: 127 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01231, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.01231, allocations: 4.375 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01232, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.01282, allocations: 354.9 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.01282, allocations: 4 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.01286, allocations: 12.03 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01286, allocations: 4 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.01287, allocations: 0 / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01287, allocations: 0 / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.01287, allocations: 4 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.01318, allocations: 216.2 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.0132, allocations: 15.91 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01322, allocations: 0 / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.0133, allocations: 4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.01335, allocations: 7.984 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.01338, allocations: 12 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.01353, allocations: 147.2 kB / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01353, allocations: 0 / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.01381, allocations: 31.92 kB / 383.9 MB, free: 11.93 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0022/0.01601, allocations: 490.3 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.01622, allocations: 67.84 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01622, allocations: 0 / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.0163, allocations: 23.98 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.01669, allocations: 30.17 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.000538/0.01723, allocations: 233.5 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.01735, allocations: 100.4 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.585e-05/0.01741, allocations: 17.27 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.01745, allocations: 16.5 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01745, allocations: 0 / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005599/0.02305, allocations: 1.866 MB / 386.7 MB, free: 9.242 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.890771373989992]