Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9663/0.9663, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3231/0.3231, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.633e-05, allocations: 6.25 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002428/0.002454, allocations: 1.765 MB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003834, allocations: 1.005 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.003902, allocations: 3.938 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.00418, allocations: 43.7 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.004445, allocations: 99.47 kB / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.004589, allocations: 79.66 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.004733, allocations: 111.6 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.004815, allocations: 12 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.00489, allocations: 51.81 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.004961, allocations: 23.92 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004977, allocations: 4 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.005063, allocations: 55.84 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.00511, allocations: 19.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.005147, allocations: 15.94 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.005315, allocations: 107.6 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005317, allocations: 0 / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005318, allocations: 0 / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.005323, allocations: 0 / 379.5 MB, free: 1.152 MB / 346.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.0004432/0.005766, allocations: 447.9 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.0058, allocations: 12.03 kB / 379.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.005848, allocations: 12.84 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.006007, allocations: 157 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.006025, allocations: 8.375 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.006041, allocations: 384 / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.006153, allocations: 62.94 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006164, allocations: 3.938 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.006173, allocations: 0 / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.006181, allocations: 4 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.006214, allocations: 11.98 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.006481, allocations: 287.8 kB / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.006592, allocations: 51.19 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.006621, allocations: 23.62 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.00663, allocations: 0 / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.027e-05/0.006721, allocations: 69.05 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.006721, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003587/0.00708, allocations: 157.3 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.007111, allocations: 63.34 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.007238, allocations: 242.3 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.007251, allocations: 25.7 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.007301, allocations: 150.9 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.007326, allocations: 27.78 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.007359, allocations: 27.38 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.007461, allocations: 0.4923 MB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.007486, allocations: 19.98 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.007518, allocations: 27.36 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.007572, allocations: 59.31 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007573, allocations: 0 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.805e-05/0.007671, allocations: 93.89 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007683, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.007687, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.007699, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.00777, allocations: 23.94 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.007774, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.007804, allocations: 3.984 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.007811, allocations: 8 kB / 382 MB, free: 14.39 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 6.672e-05/0.007878, allocations: 164.5 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.007895, allocations: 15.95 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.008037, allocations: 111.2 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008039, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008043, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.008046, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.008311, allocations: 392.9 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008313, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.008343, allocations: 11.98 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008345, allocations: 4 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.008353, allocations: 4.031 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008354, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.008356, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.008486, allocations: 259.4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.008497, allocations: 11.91 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.008512, allocations: 0 / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.008551, allocations: 7.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.008582, allocations: 11.88 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.008595, allocations: 7.984 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.008665, allocations: 172.1 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008665, allocations: 4 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.008836, allocations: 23.94 kB / 383.2 MB, free: 13.13 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.0008982/0.009734, allocations: 444.2 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.009848, allocations: 51.61 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00985, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.009889, allocations: 35.61 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01011, allocations: 27.97 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.01043, allocations: 218.1 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.01046, allocations: 67.34 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.0105, allocations: 17.27 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.01053, allocations: 16.5 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01053, allocations: 0 / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Templates: time 0.004103/0.01463, allocations: 2.006 MB / 386.1 MB, free: 10.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.0891919978894293]