Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009286/0.0009285, allocations: 176.1 kB / 16.72 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006678/0.0006679, allocations: 88.97 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.327/0.327, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 19.92 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.0019/0.1034, allocations: 1.402 MB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1051, allocations: 1.313 MB / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.1052, allocations: 0 / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.1055, allocations: 35.84 kB / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1056, allocations: 47.83 kB / 493.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1059, allocations: 75.83 kB / 493.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.106, allocations: 79.7 kB / 493.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.1061, allocations: 20.2 kB / 493.8 MB, free: 7.648 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.1062, allocations: 35.84 kB / 493.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1063, allocations: 39.72 kB / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1063, allocations: 0 / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1064, allocations: 55.97 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.1065, allocations: 15.92 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.1065, allocations: 53.5 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1067, allocations: 88.09 kB / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1067, allocations: 0 / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1067, allocations: 0 / 494.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1067, allocations: 4 kB / 494.1 MB, free: 7.355 MB / 378.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.000476/0.1072, allocations: 399.1 kB / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1072, allocations: 8.031 kB / 494.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1073, allocations: 12.84 kB / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1075, allocations: 208 kB / 494.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1076, allocations: 8.359 kB / 494.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1076, allocations: 8.125 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1078, allocations: 63.39 kB / 494.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1078, allocations: 7.938 kB / 494.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1078, allocations: 0 / 494.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1078, allocations: 0 / 494.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.1079, allocations: 15.98 kB / 494.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.1083, allocations: 284.9 kB / 495.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1084, allocations: 54.69 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.1085, allocations: 24.78 kB / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1085, allocations: 0 / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1087, allocations: 75.39 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.562e-06/0.1087, allocations: 0 / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005065/0.1092, allocations: 169.2 kB / 495.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1093, allocations: 81.11 kB / 495.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1094, allocations: 149.8 kB / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1095, allocations: 29.7 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1095, allocations: 96.05 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1095, allocations: 27.78 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1096, allocations: 0 / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1097, allocations: 326.8 kB / 496.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.1098, allocations: 16 kB / 496.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.1098, allocations: 42.56 kB / 496.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1099, allocations: 65.67 kB / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1099, allocations: 0 / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.1101, allocations: 101.4 kB / 496.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1101, allocations: 4 kB / 496.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1102, allocations: 8.125 kB / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1102, allocations: 0 / 496.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.1103, allocations: 15.94 kB / 496.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1103, allocations: 160 / 496.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1103, allocations: 15.92 kB / 496.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1103, allocations: 7.984 kB / 496.4 MB, free: 4.832 MB / 378.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/0.1104, allocations: 129.6 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1105, allocations: 11.91 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.1105, allocations: 16.64 kB / 496.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1105, allocations: 4 kB / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1105, allocations: 0 / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1105, allocations: 3.938 kB / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.111, allocations: 391.3 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.111, allocations: 0 / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.111, allocations: 11.98 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.111, allocations: 0 / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.111, allocations: 3.938 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.111, allocations: 4 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.111, allocations: 0 / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1113, allocations: 204.3 kB / 497.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.1113, allocations: 92.98 kB / 497.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1114, allocations: 7.938 kB / 497.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.1114, allocations: 4 kB / 497.2 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1115, allocations: 7.922 kB / 497.2 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1115, allocations: 8 kB / 497.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1116, allocations: 118.7 kB / 497.4 MB, free: 3.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1116, allocations: 0 / 497.4 MB, free: 3.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003009/0.1119, allocations: 32 kB / 497.4 MB, free: 3.707 MB / 378.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.113, allocations: 0.4935 MB / 497.9 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1132, allocations: 59.91 kB / 497.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1132, allocations: 0 / 497.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.1133, allocations: 31.98 kB / 498 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1137, allocations: 19.98 kB / 498 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.1141, allocations: 239.8 kB / 498.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1144, allocations: 0.6926 MB / 498.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.1145, allocations: 27.36 kB / 498.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1145, allocations: 0 / 498.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of Templates: time 0.003821/0.1183, allocations: 2.026 MB / 0.4892 GB, free: 112 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches