Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001197/0.001197, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001917/0.003114, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001356/0.001356, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002786, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.019/1.019, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1975/1.216, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.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.1481/0.1481, allocations: 32.35 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03456/0.1827, allocations: 12.29 MB / 265.9 MB, free: 7.828 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.Test80,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.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,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.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 267.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.955e-05, allocations: 6.25 kB / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00402/0.004049, allocations: 1.847 MB / 269.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.00679, allocations: 1.626 MB / 270.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.006901, allocations: 3.938 kB / 270.8 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.007258, allocations: 51.69 kB / 270.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.007608, allocations: 95.41 kB / 270.9 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.008037, allocations: 139.6 kB / 271 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.008326, allocations: 179.4 kB / 271.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.008381, allocations: 18.45 kB / 271.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.008637, allocations: 140.3 kB / 271.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.008824, allocations: 51.81 kB / 271.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.008855, allocations: 8 kB / 271.4 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.00908, allocations: 71.83 kB / 271.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.009148, allocations: 23.88 kB / 271.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.009206, allocations: 27.94 kB / 271.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.009526, allocations: 135.4 kB / 271.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.489e-05/0.009551, allocations: 4 kB / 271.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.009553, allocations: 0 / 271.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.009576, allocations: 0 / 271.7 MB, free: 2.023 MB / 266.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.0007366/0.01031, allocations: 399.4 kB / 272.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.01036, allocations: 8.031 kB / 272.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.01043, allocations: 16.92 kB / 272.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.01075, allocations: 173.4 kB / 272.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.01077, allocations: 384 / 272.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.01079, allocations: 4.375 kB / 272.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.01104, allocations: 156.6 kB / 272.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01105, allocations: 3.938 kB / 272.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.01107, allocations: 4 kB / 272.4 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.01107, allocations: 8 kB / 272.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.01115, allocations: 21.58 kB / 272.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.0113, allocations: 82.36 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.01147, allocations: 78.86 kB / 272.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.01151, allocations: 21.66 kB / 272.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.01152, allocations: 4 kB / 272.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.01171, allocations: 103.9 kB / 272.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.01172, allocations: 0 / 272.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002297/0.01195, allocations: 99.62 kB / 272.8 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.012, allocations: 85.05 kB / 272.9 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.01221, allocations: 213 kB / 273.1 MB, free: 384 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.01223, allocations: 33.7 kB / 273.2 MB, free: 344 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.01228, allocations: 96.09 kB / 273.3 MB, free: 244 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.01233, allocations: 27.84 kB / 273.3 MB, free: 216 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.01239, allocations: 25.7 kB / 273.3 MB, free: 184 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.01253, allocations: 330.8 kB / 273.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.01256, allocations: 22.81 kB / 273.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.01292, allocations: 108.5 kB / 273.8 MB, free: 15.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.01301, allocations: 67.81 kB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01301, allocations: 0 / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001544/0.01316, allocations: 87.25 kB / 273.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.01318, allocations: 8 kB / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01319, allocations: 0 / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.0132, allocations: 96 / 273.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01333, allocations: 35.86 kB / 274 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01333, allocations: 4 kB / 274 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.0134, allocations: 15.89 kB / 274 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01342, allocations: 4 kB / 274 MB, free: 15.45 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 9.702e-05/0.01351, allocations: 120.7 kB / 274.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01354, allocations: 19.92 kB / 274.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.01372, allocations: 91 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01372, allocations: 0 / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.01372, allocations: 3.938 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01373, allocations: 8 kB / 274.2 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.01387, allocations: 101.8 kB / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01387, allocations: 0 / 274.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.01393, allocations: 19.92 kB / 274.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.01397, allocations: 15.84 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01398, allocations: 0 / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.01399, allocations: 8 kB / 274.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.01399, allocations: 0 / 274.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.01399, allocations: 3.938 kB / 274.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.01416, allocations: 118.4 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.01419, allocations: 8 kB / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.01425, allocations: 4 kB / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.01429, allocations: 15.92 kB / 274.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.01431, allocations: 11.92 kB / 274.5 MB, free: 14.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.838e-05/0.0144, allocations: 69.86 kB / 274.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0144, allocations: 0 / 274.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.01464, allocations: 43.92 kB / 274.6 MB, free: 14.73 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.00196/0.0166, allocations: 0.6091 MB / 275.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.01678, allocations: 60.7 kB / 275.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/0.0168, allocations: 4 kB / 275.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.303e-05/0.01686, allocations: 32.77 kB / 275.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.01717, allocations: 79.83 kB / 275.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.02012, allocations: 258.9 kB / 275.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.02019, allocations: 72 kB / 275.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.02035, allocations: 25.47 kB / 275.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.02054, allocations: 95.28 kB / 275.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of SimCode: time 1.974e-06/0.02054, allocations: 0 / 275.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of Templates: time 0.007545/0.02809, allocations: 3.243 MB / 279.1 MB, free: 10.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.0356023609638214]