Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001463/0.001463, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001824/0.001824, allocations: 217.3 kB / 23.76 MB, free: 4.727 MB / 14.72 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.358/1.358, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 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.2003/0.2003, allocations: 44.24 MB / 331 MB, free: 9.609 MB / 270.1 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.89 kB / 468.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 61.04 MB / 0.5174 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003203/0.1166, allocations: 1.938 MB / 0.5193 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.118, allocations: 0.8661 MB / 0.5202 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.1181, allocations: 7.938 kB / 0.5202 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1184, allocations: 43.77 kB / 0.5202 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1186, allocations: 63.62 kB / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.1189, allocations: 103.7 kB / 0.5204 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1191, allocations: 143.5 kB / 0.5205 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1192, allocations: 21.66 kB / 0.5205 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1193, allocations: 63.72 kB / 0.5206 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.1194, allocations: 47.7 kB / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1194, allocations: 8 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.1195, allocations: 51.98 kB / 0.5207 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.1196, allocations: 23.86 kB / 0.5207 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.1197, allocations: 59.59 kB / 0.5208 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1199, allocations: 139.4 kB / 0.5209 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1199, allocations: 0 / 0.5209 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1199, allocations: 3.938 kB / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1199, allocations: 0 / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006285/0.1205, allocations: 407 kB / 0.5213 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1206, allocations: 12.03 kB / 0.5213 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1206, allocations: 24.83 kB / 0.5213 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1209, allocations: 167.3 kB / 0.5215 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1209, allocations: 4.375 kB / 0.5215 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1209, allocations: 16.08 kB / 0.5215 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.1211, allocations: 104.2 kB / 0.5216 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1212, allocations: 4 kB / 0.5216 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1212, allocations: 4 kB / 0.5216 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1212, allocations: 0 / 0.5216 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1213, allocations: 47.97 kB / 0.5217 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.1219, allocations: 484.1 kB / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1222, allocations: 90.59 kB / 0.5222 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.1223, allocations: 32.84 kB / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1223, allocations: 0 / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.1225, allocations: 87.36 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1225, allocations: 0 / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003696/0.1229, allocations: 141.5 kB / 0.5225 GB, free: 1.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1229, allocations: 59.34 kB / 0.5225 GB, free: 1.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1231, allocations: 187.6 kB / 0.5227 GB, free: 1.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1231, allocations: 29.7 kB / 0.5227 GB, free: 1.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.1232, allocations: 116.1 kB / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1232, allocations: 35.69 kB / 0.5229 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.1233, allocations: 29.7 kB / 0.5229 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1234, allocations: 322.8 kB / 0.5232 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.1235, allocations: 27.98 kB / 0.5232 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1236, allocations: 68.64 kB / 0.5233 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1238, allocations: 100.1 kB / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1238, allocations: 0 / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002587/0.124, allocations: 141.5 kB / 0.5235 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.124, allocations: 8 kB / 0.5235 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1241, allocations: 3.984 kB / 0.5235 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1241, allocations: 4 kB / 0.5235 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1242, allocations: 23.88 kB / 0.5236 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1242, allocations: 7.984 kB / 0.5236 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.1243, allocations: 15.89 kB / 0.5236 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1243, allocations: 8 kB / 0.5236 GB, free: 196 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.0001016/0.1244, allocations: 121.9 kB / 0.5237 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.1244, allocations: 23.89 kB / 0.5237 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.1247, allocations: 123 kB / 0.5239 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1247, allocations: 7.938 kB / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1247, allocations: 0 / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1247, allocations: 0 / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1249, allocations: 184.6 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1249, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.1249, allocations: 8 kB / 0.524 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1249, allocations: 4 kB / 0.524 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.125, allocations: 7.984 kB / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.125, allocations: 3.938 kB / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.125, allocations: 0 / 0.5241 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1253, allocations: 181 kB / 0.5242 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.1253, allocations: 11.94 kB / 0.5242 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1254, allocations: 8 kB / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.1254, allocations: 15.98 kB / 0.5243 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1255, allocations: 3.984 kB / 0.5243 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1255, allocations: 4 kB / 0.5243 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1256, allocations: 149.1 kB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1256, allocations: 0 / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1258, allocations: 27.94 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001448/0.1273, allocations: 405.1 kB / 0.5248 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1275, allocations: 79.89 kB / 0.5249 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1275, allocations: 4 kB / 0.5249 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.1276, allocations: 31.92 kB / 0.5249 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1279, allocations: 35.83 kB / 0.525 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.1284, allocations: 297.7 kB / 0.5253 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1287, allocations: 0.7203 MB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.1288, allocations: 23.42 kB / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1288, allocations: 0 / 0.526 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Templates: time 0.004072/0.1328, allocations: 2.179 MB / 0.5281 GB, free: 11.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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: 7.238579015014693]