Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.0009007/0.0009007, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.002033, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007657/0.0007657, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008833/0.001649, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.073/1.073, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0971/1.17, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3004/0.3004, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02601/0.3264, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.442e-05, allocations: 3.75 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003346/0.00338, allocations: 1.805 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.004984, allocations: 1.02 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.468e-05/0.005069, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.005296, allocations: 46.02 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.005566, allocations: 87.84 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.005779, allocations: 75.62 kB / 293.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005971, allocations: 111.6 kB / 293.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.006059, allocations: 8.75 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.006211, allocations: 91.73 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.006301, allocations: 19.92 kB / 294 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.006319, allocations: 4 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.006424, allocations: 43.92 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.006477, allocations: 19.92 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.006519, allocations: 15.94 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.006729, allocations: 103.5 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.997e-05/0.006749, allocations: 0 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.00675, allocations: 0 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.006768, allocations: 0 / 294.1 MB, free: 4.766 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.0005828/0.007351, allocations: 336.6 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.007393, allocations: 8.031 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.007435, allocations: 8.938 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.007641, allocations: 142.2 kB / 294.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.007662, allocations: 4.375 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.007683, allocations: 4.375 kB / 294.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.007838, allocations: 65.7 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.007851, allocations: 3.938 kB / 294.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.007859, allocations: 0 / 294.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.007865, allocations: 4 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.007909, allocations: 11.98 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.008156, allocations: 165.9 kB / 294.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.008268, allocations: 89.33 kB / 295 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.008295, allocations: 16.84 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.008307, allocations: 0 / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.008428, allocations: 66.09 kB / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.008429, allocations: 0 / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003533/0.008783, allocations: 109.8 kB / 295.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.008817, allocations: 55.41 kB / 295.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.008945, allocations: 173 kB / 295.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.008964, allocations: 29.7 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.009003, allocations: 96.05 kB / 295.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.009038, allocations: 27.73 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.009083, allocations: 25.7 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.009184, allocations: 326.8 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.009206, allocations: 7.016 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.009239, allocations: 25.72 kB / 295.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.689e-05/0.009296, allocations: 52.44 kB / 295.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.009297, allocations: 0 / 295.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.009404, allocations: 72.38 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.009419, allocations: 8 kB / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.009424, allocations: 0 / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.009435, allocations: 0 / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.00953, allocations: 19.98 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.009534, allocations: 0 / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.009572, allocations: 4 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.00958, allocations: 4 kB / 296.1 MB, free: 2.664 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.683e-05/0.009657, allocations: 116.7 kB / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.009678, allocations: 15.92 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.009811, allocations: 71.08 kB / 296.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.009814, allocations: 4 kB / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.009815, allocations: 0 / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.00982, allocations: 3.984 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.0101, allocations: 299.6 kB / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01011, allocations: 0 / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.01014, allocations: 8 kB / 296.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.01016, allocations: 15.84 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01017, allocations: 4.031 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.01017, allocations: 7.984 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01018, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01018, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.01031, allocations: 219 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01033, allocations: 4 kB / 296.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.01039, allocations: 3.984 kB / 296.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.01042, allocations: 8 kB / 296.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.01044, allocations: 7.984 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.849e-05/0.01049, allocations: 40.36 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01049, allocations: 7.938 kB / 296.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.0107, allocations: 27.92 kB / 296.9 MB, free: 1.75 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.001879/0.01258, allocations: 0.6405 MB / 297.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.01271, allocations: 44.72 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.01272, allocations: 4 kB / 297.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.01276, allocations: 24.78 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.013, allocations: 40 kB / 297.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.01353, allocations: 228 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.01358, allocations: 67.34 kB / 297.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.055e-05/0.01364, allocations: 25.39 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.01372, allocations: 67.36 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01372, allocations: 0 / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of Templates: time 0.004644/0.01836, allocations: 2.027 MB / 300.1 MB, free: 14.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.113360082730651]