Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001458/0.001458, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.001634/0.001634, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.042/1.042, allocations: 158.6 MB / 186 MB, free: 2.91 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.1379/0.1379, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.759e-05, allocations: 5.406 kB / 347.8 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002328/0.002356, allocations: 1.73 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003377, allocations: 0.7921 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.003469, allocations: 3.938 kB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.003834, allocations: 39.77 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.004068, allocations: 55.7 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.004285, allocations: 87.69 kB / 350.5 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.004448, allocations: 91.7 kB / 350.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.004569, allocations: 20.2 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.756e-05/0.004656, allocations: 51.78 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.004734, allocations: 19.92 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.004756, allocations: 4 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.188e-05/0.004838, allocations: 47.91 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.004897, allocations: 19.92 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.004948, allocations: 15.92 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.005128, allocations: 95.66 kB / 350.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005131, allocations: 3.938 kB / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005131, allocations: 0 / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.005137, allocations: 4 kB / 350.8 MB, free: 6.602 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.0004592/0.005596, allocations: 435.9 kB / 351.2 MB, free: 6.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.005637, allocations: 12.03 kB / 351.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.005687, allocations: 16.83 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.00585, allocations: 148.3 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.005872, allocations: 4.359 kB / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.005903, allocations: 8.375 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.006045, allocations: 58.94 kB / 351.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.006058, allocations: 7.938 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.006069, allocations: 3.938 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.006078, allocations: 4 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.006116, allocations: 11.98 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.006407, allocations: 271.8 kB / 351.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.006514, allocations: 51.17 kB / 351.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.006545, allocations: 27.55 kB / 351.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.006558, allocations: 0 / 351.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.006662, allocations: 65.05 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.006663, allocations: 0 / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004186/0.007082, allocations: 161.4 kB / 352.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.00711, allocations: 51.41 kB / 352.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.007207, allocations: 219 kB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.007217, allocations: 33.69 kB / 352.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.007255, allocations: 146.8 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.007279, allocations: 27.78 kB / 352.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.007307, allocations: 23.38 kB / 352.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.007357, allocations: 0.4962 MB / 353.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.007379, allocations: 16.36 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.007409, allocations: 35.25 kB / 353.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.007459, allocations: 59.3 kB / 353.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007461, allocations: 4 kB / 353.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.075e-05/0.007552, allocations: 81.58 kB / 353.3 MB, free: 3.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.007566, allocations: 8 kB / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00757, allocations: 0 / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.007586, allocations: 0 / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.007655, allocations: 19.98 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.007661, allocations: 4 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.007686, allocations: 0 / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.007692, allocations: 4 kB / 353.3 MB, free: 3.902 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 5.773e-05/0.007749, allocations: 180.5 kB / 353.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.007762, allocations: 15.91 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.007897, allocations: 98.59 kB / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.007899, allocations: 0 / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.007904, allocations: 3.938 kB / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.007909, allocations: 7.984 kB / 353.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.008126, allocations: 381 kB / 354 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008127, allocations: 3.938 kB / 354 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.00815, allocations: 8 kB / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008152, allocations: 8.031 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.00816, allocations: 0 / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008162, allocations: 0 / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.008164, allocations: 4 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.008268, allocations: 259.4 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.008277, allocations: 7.953 kB / 354.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.008295, allocations: 7.984 kB / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.008333, allocations: 0 / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.008365, allocations: 11.98 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.008377, allocations: 4 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.008424, allocations: 167.1 kB / 354.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008424, allocations: 0 / 354.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.008593, allocations: 23.94 kB / 354.5 MB, free: 2.648 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.0008245/0.009417, allocations: 442.9 kB / 354.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.009538, allocations: 67.52 kB / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.00954, allocations: 0 / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.009577, allocations: 31.61 kB / 355 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.009819, allocations: 32 kB / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.01013, allocations: 205.8 kB / 355.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.01017, allocations: 71.33 kB / 355.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.0102, allocations: 16.47 kB / 355.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.01023, allocations: 16.5 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01023, allocations: 0 / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of Templates: time 0.003383/0.01361, allocations: 1.835 MB / 357.2 MB, free: 15.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.302812756039202]