Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 105.4 kB / 16.93 MB, free: 5.797 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.001163/0.001163, allocations: 191.3 kB / 17.86 MB, free: 5.148 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.557/1.557, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.2189/0.2189, allocations: 43.52 MB / 314.6 MB, free: 0.5352 MB / 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.001656/0.001656, allocations: 71.14 kB / 383.4 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1099, allocations: 57.78 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00296/0.1129, allocations: 1.789 MB / 443 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1143, allocations: 0.8701 MB / 443.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.1144, allocations: 3.938 kB / 443.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.1149, allocations: 311.3 kB / 444.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.1152, allocations: 211.4 kB / 444.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1156, allocations: 143.2 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1158, allocations: 239.4 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.1159, allocations: 17.53 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.116, allocations: 123.6 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1162, allocations: 195.5 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1162, allocations: 11.94 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.1163, allocations: 43.98 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1164, allocations: 127.6 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1165, allocations: 146.8 kB / 445.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.1168, allocations: 355 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1168, allocations: 0 / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1168, allocations: 7.938 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1168, allocations: 0 / 445.7 MB, free: 2.336 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007526/0.1176, allocations: 0.7346 MB / 446.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1176, allocations: 11.89 kB / 446.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.1177, allocations: 52.38 kB / 446.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.1181, allocations: 443.8 kB / 447 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1182, allocations: 384 / 447 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1182, allocations: 8.125 kB / 447 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1184, allocations: 91.3 kB / 447.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1184, allocations: 0 / 447.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1184, allocations: 4 kB / 447.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1184, allocations: 3.938 kB / 447.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1185, allocations: 31.97 kB / 447.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.1188, allocations: 370.4 kB / 447.5 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1191, allocations: 109.2 kB / 447.6 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.1191, allocations: 41.64 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1192, allocations: 4 kB / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.1194, allocations: 113 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1194, allocations: 0 / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004536/0.1199, allocations: 205.3 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.12, allocations: 77.11 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.1209, allocations: 1.03 MB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.121, allocations: 37.7 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1211, allocations: 232.1 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.1212, allocations: 27.64 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.1213, allocations: 33.7 kB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1214, allocations: 362.8 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.1215, allocations: 27.98 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.1216, allocations: 67.34 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1218, allocations: 83.42 kB / 449.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1218, allocations: 0 / 449.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002835/0.1221, allocations: 172.8 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1221, allocations: 4 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1221, allocations: 8.062 kB / 450.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1221, allocations: 0 / 450.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1223, allocations: 23.98 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1223, allocations: 0 / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.1224, allocations: 15.88 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1224, allocations: 4 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002066/0.1226, allocations: 233.6 kB / 450.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.1227, allocations: 51.34 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.1228, allocations: 60 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1228, allocations: 4 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1228, allocations: 0 / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1228, allocations: 0 / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1231, allocations: 345.5 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1231, allocations: 4 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.1231, allocations: 11.94 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1232, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1232, allocations: 3.984 kB / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1232, allocations: 4 kB / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1232, allocations: 3.938 kB / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.1235, allocations: 205.3 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1236, allocations: 140.4 kB / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.1237, allocations: 0 / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.1238, allocations: 7.984 kB / 451.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.1238, allocations: 11.98 kB / 451.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1238, allocations: 8 kB / 451.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007193/0.1246, allocations: 0.7682 MB / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1246, allocations: 0 / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1249, allocations: 47.98 kB / 452 MB, free: 11.69 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009693/0.1258, allocations: 423.5 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1261, allocations: 87.89 kB / 452.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1261, allocations: 4.062 kB / 452.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1262, allocations: 39.98 kB / 452.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.1267, allocations: 76.17 kB / 452.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1279, allocations: 0.9113 MB / 453.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1283, allocations: 0.8427 MB / 454.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1284, allocations: 31.44 kB / 454.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1284, allocations: 0 / 454.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of Templates: time 0.008771/0.1372, allocations: 5.059 MB / 459.5 MB, free: 4.242 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches