Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001668/0.001668, allocations: 88.23 kB / 20.21 MB, free: 4.223 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.001847/0.001847, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.621/1.621, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2404/0.2404, allocations: 32.37 MB / 270 MB, free: 14.86 MB / 266.7 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.632e-05/3.808e-05, allocations: 10.25 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002839/0.002877, allocations: 1.688 MB / 348.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.00415, allocations: 0.7727 MB / 349.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.829e-05/0.004238, allocations: 0 / 349.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.004593, allocations: 47.7 kB / 349.5 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.004818, allocations: 51.69 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.005076, allocations: 91.7 kB / 349.7 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005256, allocations: 99.62 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.00537, allocations: 4.234 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.005466, allocations: 59.81 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.005545, allocations: 23.92 kB / 349.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.005568, allocations: 4 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.205e-05/0.00566, allocations: 39.92 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.005723, allocations: 23.91 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.005775, allocations: 19.88 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.005981, allocations: 107.6 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005985, allocations: 4 kB / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005986, allocations: 0 / 350 MB, free: 6.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005991, allocations: 0 / 350 MB, free: 6.676 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000472/0.006463, allocations: 341.6 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.006499, allocations: 12.03 kB / 350.4 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.468e-05/0.006553, allocations: 12.89 kB / 350.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.00677, allocations: 153.5 kB / 350.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.006784, allocations: 4.375 kB / 350.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.006809, allocations: 384 / 350.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.006957, allocations: 66.22 kB / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.00697, allocations: 7.891 kB / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.006982, allocations: 0 / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.006986, allocations: 0 / 350.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.688e-05/0.007063, allocations: 27.97 kB / 350.6 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.007351, allocations: 224.6 kB / 350.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.007506, allocations: 54.62 kB / 350.9 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.007561, allocations: 24.78 kB / 350.9 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.007577, allocations: 4 kB / 350.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.007708, allocations: 71.39 kB / 351 MB, free: 5.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.007709, allocations: 0 / 351 MB, free: 5.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005438/0.008253, allocations: 185.3 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.008283, allocations: 51.41 kB / 351.2 MB, free: 5.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.008421, allocations: 184.5 kB / 351.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.008433, allocations: 33.69 kB / 351.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.008472, allocations: 100.1 kB / 351.6 MB, free: 5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.008498, allocations: 27.8 kB / 351.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.008533, allocations: 21.72 kB / 351.6 MB, free: 4.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.008583, allocations: 322.8 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.008637, allocations: 27.98 kB / 352 MB, free: 4.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.008695, allocations: 41.64 kB / 352 MB, free: 4.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.008797, allocations: 65.62 kB / 352.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.008798, allocations: 0 / 352.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.008958, allocations: 101.6 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.008974, allocations: 7.984 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.00898, allocations: 4 kB / 352.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.008999, allocations: 0 / 352.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.009087, allocations: 23.97 kB / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.009092, allocations: 0 / 352.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.009139, allocations: 8.359 kB / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.009147, allocations: 4 kB / 352.2 MB, free: 4.324 MB / 282.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 7.44e-05/0.009221, allocations: 130.6 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.009244, allocations: 15.91 kB / 352.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.009479, allocations: 130.5 kB / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.009482, allocations: 0 / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.009487, allocations: 0 / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.00949, allocations: 0 / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.00986, allocations: 350.9 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009862, allocations: 0 / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.009898, allocations: 11.98 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.0099, allocations: 0 / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.009911, allocations: 4 kB / 352.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.009913, allocations: 0 / 352.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009914, allocations: 0 / 352.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.01012, allocations: 220.2 kB / 353 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.711e-05/0.01014, allocations: 11.94 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.01016, allocations: 8.031 kB / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.01023, allocations: 0 / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.01028, allocations: 15.92 kB / 353.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.01029, allocations: 4 kB / 353.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.684e-05/0.01038, allocations: 148 kB / 353.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01038, allocations: 0 / 353.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.01065, allocations: 20 kB / 353.2 MB, free: 3.203 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: 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.002189/0.01284, allocations: 0.4939 MB / 353.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.01301, allocations: 55.91 kB / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01302, allocations: 4 kB / 353.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.01309, allocations: 27.98 kB / 353.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.01345, allocations: 37.5 kB / 353.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.0139, allocations: 237 kB / 354.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.01396, allocations: 88.3 kB / 354.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.01401, allocations: 24.77 kB / 354.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.01405, allocations: 12.5 kB / 354.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01405, allocations: 4 kB / 354.2 MB, free: 2.289 MB / 282.7 MB Notification: Performance of Templates: time 0.0047/0.01875, allocations: 1.833 MB / 356.1 MB, free: 480 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.018750439048745]