Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001505/0.001505, 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.001667/0.001667, 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.523/1.523, allocations: 177 MB / 204.4 MB, free: 5.645 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.3615/0.3615, allocations: 34.24 MB / 295.2 MB, free: 0.6562 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.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.292e-05/4.555e-05, allocations: 7.859 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005226/0.005272, allocations: 1.708 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.008278, allocations: 0.9758 MB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.00839, allocations: 3.938 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.008832, allocations: 51.69 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.00938, allocations: 99.53 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.00974, allocations: 79.61 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.01002, allocations: 103.6 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.01014, allocations: 8 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.01031, allocations: 55.81 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.01043, allocations: 27.86 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.01045, allocations: 4 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.01062, allocations: 51.91 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.984e-05/0.01072, allocations: 23.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.01079, allocations: 19.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.01115, allocations: 123.5 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01116, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01116, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01117, allocations: 0 / 380.6 MB, free: 15.48 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.0008533/0.01202, allocations: 349.5 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.01207, allocations: 8.031 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.01216, allocations: 16.84 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.01262, allocations: 158 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.01264, allocations: 4.375 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.01268, allocations: 384 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.01291, allocations: 66.17 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01293, allocations: 192 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.01294, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01295, allocations: 3.938 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.01308, allocations: 19.98 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.01362, allocations: 232.6 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.0139, allocations: 62.61 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.014, allocations: 24.84 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.01402, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.01426, allocations: 71.33 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.01426, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009124/0.01517, allocations: 185.3 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.01525, allocations: 59.34 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.01565, allocations: 210.4 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.01569, allocations: 29.7 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01582, allocations: 108.1 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.01588, allocations: 23.81 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.01596, allocations: 25.7 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.01623, allocations: 322.8 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.01634, allocations: 23.94 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.01648, allocations: 37.7 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.01671, allocations: 61.7 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01671, allocations: 0 / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003972/0.01711, allocations: 113.5 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.01713, allocations: 12.03 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01714, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.01717, allocations: 3.984 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01733, allocations: 15.98 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.01735, allocations: 4.156 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.01742, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.01745, allocations: 7.984 kB / 382.8 MB, free: 13.09 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.000209/0.01766, allocations: 133.7 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.01772, allocations: 19.84 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.01821, allocations: 127.1 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.01821, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01822, allocations: 384 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01823, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.01965, allocations: 358.9 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.01966, allocations: 4 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.01975, allocations: 11.98 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.01976, allocations: 4 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.01977, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01977, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01978, allocations: 4.031 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.02031, allocations: 216.2 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.02035, allocations: 19.89 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.02039, allocations: 0 / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.02054, allocations: 4 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.0206, allocations: 11.92 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.02063, allocations: 8 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003026/0.02094, allocations: 155.2 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.02094, allocations: 0 / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005266/0.02146, allocations: 23.98 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.003716/0.02518, allocations: 494 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.02556, allocations: 59.84 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.02556, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.0257, allocations: 32.06 kB / 384.5 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.0006638/0.02637, allocations: 29.83 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.0009298/0.0273, allocations: 253.3 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.02749, allocations: 92.8 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.02759, allocations: 17.34 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.02768, allocations: 24.48 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02768, allocations: 0 / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01004/0.03772, allocations: 1.868 MB / 386.8 MB, free: 9.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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: 5.005089309066534]