Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001439/0.001439, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001633/0.001633, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.05/1.05, allocations: 158.6 MB / 185.7 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1598/0.1598, allocations: 32.38 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.736e-05, allocations: 6.312 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002065/0.002082, allocations: 1.818 MB / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.003473, allocations: 1.587 MB / 351.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.003568, allocations: 0 / 351.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.003917, allocations: 59.61 kB / 351.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.004214, allocations: 107.4 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.004467, allocations: 131.6 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.00468, allocations: 187.4 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.004723, allocations: 17.75 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.00483, allocations: 91.73 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.004955, allocations: 59.8 kB / 351.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.004979, allocations: 8 kB / 351.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.005091, allocations: 63.91 kB / 351.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.005145, allocations: 39.83 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.005191, allocations: 31.86 kB / 351.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.005392, allocations: 147.4 kB / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005395, allocations: 0 / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005395, allocations: 0 / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.0054, allocations: 0 / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004713/0.005871, allocations: 0.4917 MB / 352.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.005912, allocations: 8.031 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.005984, allocations: 20.84 kB / 352.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.006175, allocations: 176.3 kB / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.006196, allocations: 8.375 kB / 352.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.006209, allocations: 4.375 kB / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.00638, allocations: 172.9 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.00639, allocations: 3.938 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.006401, allocations: 0 / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.006408, allocations: 4 kB / 353 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.006456, allocations: 15.98 kB / 353 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.006595, allocations: 164.3 kB / 353.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.006723, allocations: 102.1 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.006762, allocations: 27.38 kB / 353.3 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.006775, allocations: 7.984 kB / 353.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.006888, allocations: 112.3 kB / 353.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.006889, allocations: 3.984 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002393/0.007128, allocations: 149.4 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.007163, allocations: 128.5 kB / 353.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.007295, allocations: 263.3 kB / 353.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.007306, allocations: 25.7 kB / 353.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.007343, allocations: 158.9 kB / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.007375, allocations: 31.78 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.007418, allocations: 35.36 kB / 354.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.007472, allocations: 0.4962 MB / 354.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.007501, allocations: 19.98 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.007551, allocations: 132.2 kB / 354.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.007615, allocations: 74.73 kB / 354.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.007617, allocations: 0 / 354.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001092/0.007726, allocations: 125.4 kB / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.007737, allocations: 4 kB / 355 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007742, allocations: 3.938 kB / 355 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.007755, allocations: 8.094 kB / 355 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.007831, allocations: 19.98 kB / 355 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.007838, allocations: 7.938 kB / 355 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.00788, allocations: 8 kB / 355 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.007887, allocations: 4 kB / 355 MB, free: 1.703 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 5.808e-05/0.007945, allocations: 164.6 kB / 355.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.007964, allocations: 23.91 kB / 355.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.008114, allocations: 142.6 kB / 355.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008117, allocations: 4.25 kB / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.008119, allocations: 0 / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.008124, allocations: 11.94 kB / 355.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.559e-05/0.008209, allocations: 160.5 kB / 355.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008211, allocations: 0 / 355.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.008235, allocations: 15.98 kB / 355.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.008237, allocations: 0 / 355.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.008246, allocations: 0 / 355.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008248, allocations: 7.938 kB / 355.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008249, allocations: 0 / 355.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.008377, allocations: 175.9 kB / 355.7 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.008392, allocations: 11.91 kB / 355.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.008411, allocations: 8 kB / 355.8 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.008444, allocations: 15.92 kB / 355.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.008482, allocations: 7.984 kB / 355.8 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.008494, allocations: 4 kB / 355.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.008564, allocations: 189.4 kB / 356 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008564, allocations: 0 / 356 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.008729, allocations: 47.88 kB / 356 MB, free: 0.6523 MB / 282.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000785/0.009514, allocations: 444.9 kB / 356.5 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.009662, allocations: 67.72 kB / 356.5 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009664, allocations: 4.125 kB / 356.5 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.009709, allocations: 47.78 kB / 356.6 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.009926, allocations: 59.7 kB / 356.6 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.01033, allocations: 269.6 kB / 356.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.533e-05/0.01038, allocations: 68 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.01044, allocations: 33.44 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.01049, allocations: 28.48 kB / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01049, allocations: 0 / 357 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Templates: time 0.005329/0.01582, allocations: 3.189 MB / 360.2 MB, free: 12.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.282281070947647]