Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 110.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2191/0.2191, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 74.27 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00273/0.1163, allocations: 1.696 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1176, allocations: 0.7922 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.1177, allocations: 3.938 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.118, allocations: 91.75 kB / 444.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1183, allocations: 75.67 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1185, allocations: 87.69 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1187, allocations: 103.7 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.1188, allocations: 8.234 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.1188, allocations: 55.77 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.1189, allocations: 51.83 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1189, allocations: 4 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.119, allocations: 43.92 kB / 445 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.1191, allocations: 23.91 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.1191, allocations: 39.69 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1193, allocations: 115.6 kB / 445.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1193, allocations: 0 / 445.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1193, allocations: 0 / 445.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1193, allocations: 0 / 445.2 MB, free: 2.953 MB / 318.1 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.0004185/0.1198, allocations: 422.9 kB / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1198, allocations: 11.89 kB / 445.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1198, allocations: 20.73 kB / 445.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.12, allocations: 208 kB / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1201, allocations: 8.312 kB / 445.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1201, allocations: 12.11 kB / 445.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1202, allocations: 53.67 kB / 445.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1203, allocations: 0 / 445.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1203, allocations: 4 kB / 445.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1203, allocations: 0 / 445.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.1203, allocations: 19.98 kB / 445.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.1206, allocations: 296.7 kB / 446.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1208, allocations: 54.67 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.1209, allocations: 28.84 kB / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1209, allocations: 0 / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.121, allocations: 67.33 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.121, allocations: 0 / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000473/0.1215, allocations: 169.3 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.1215, allocations: 55.34 kB / 446.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1217, allocations: 215.6 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1217, allocations: 29.7 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.1217, allocations: 100.1 kB / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1218, allocations: 31.62 kB / 446.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.1218, allocations: 21.72 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.1219, allocations: 326.8 kB / 447.3 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.1219, allocations: 23.98 kB / 447.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.122, allocations: 41.64 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.831e-05/0.1221, allocations: 61.64 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1221, allocations: 0 / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000146/0.1222, allocations: 101.6 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1223, allocations: 4 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1223, allocations: 80 / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1223, allocations: 0 / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.1224, allocations: 24.3 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1224, allocations: 8.016 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.1224, allocations: 7.938 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1224, allocations: 8 kB / 447.5 MB, free: 340 kB / 318.1 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.661e-05/0.1225, allocations: 129.8 kB / 447.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1225, allocations: 7.906 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.1226, allocations: 21.39 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1226, allocations: 3.938 kB / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1226, allocations: 0 / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.1226, allocations: 3.938 kB / 447.7 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.123, allocations: 399.2 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.123, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.1231, allocations: 11.98 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1231, allocations: 4 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1231, allocations: 7.938 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.1231, allocations: 3.938 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1231, allocations: 0 / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1233, allocations: 200.3 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1234, allocations: 88.92 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1234, allocations: 7.938 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1235, allocations: 3.984 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1235, allocations: 4 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1236, allocations: 4 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1237, allocations: 163.2 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1237, allocations: 4 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.124, allocations: 24 kB / 448.6 MB, free: 15.15 MB / 334.1 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 (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.001021/0.125, allocations: 467.6 kB / 449.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1252, allocations: 67.95 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1252, allocations: 0 / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.262e-05/0.1253, allocations: 27.92 kB / 449.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1256, allocations: 27.92 kB / 449.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.1261, allocations: 243.3 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1263, allocations: 0.7081 MB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.1264, allocations: 24.86 kB / 450.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.1264, allocations: 15.44 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1264, allocations: 0 / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Templates: time 0.004205/0.1306, allocations: 1.7 MB / 451.9 MB, free: 11.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches