Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 115.9 kB / 17.09 MB, free: 5.984 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.001267/0.001267, allocations: 189.3 kB / 18.01 MB, free: 5.074 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.509/1.509, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2151/0.2151, allocations: 43.53 MB / 314.8 MB, free: 452 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.001411/0.001411, allocations: 68.33 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002993/0.1259, allocations: 1.654 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1272, allocations: 0.7844 MB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.1273, allocations: 0 / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1276, allocations: 67.72 kB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1278, allocations: 59.75 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1281, allocations: 87.75 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1283, allocations: 103.7 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.1283, allocations: 11.98 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.1284, allocations: 43.78 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.1285, allocations: 47.77 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1285, allocations: 4 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.1286, allocations: 31.98 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.1287, allocations: 15.94 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.1288, allocations: 35.78 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1289, allocations: 91.66 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1289, allocations: 0 / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.129, allocations: 4 kB / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.129, allocations: 0 / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000625/0.1296, allocations: 414.9 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1296, allocations: 11.89 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.1297, allocations: 8.844 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.13, allocations: 208 kB / 0.4922 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.13, allocations: 8.297 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.13, allocations: 12.12 kB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1301, allocations: 45.69 kB / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1302, allocations: 0 / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1302, allocations: 3.984 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1302, allocations: 0 / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.1303, allocations: 15.94 kB / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.1304, allocations: 181.7 kB / 0.4924 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1306, allocations: 54.61 kB / 0.4925 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.1307, allocations: 20.8 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1307, allocations: 3.984 kB / 0.4925 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.1308, allocations: 63.39 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.956e-06/0.1309, allocations: 0 / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002746/0.1311, allocations: 97.52 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1312, allocations: 55.41 kB / 0.4927 GB, free: 7.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1314, allocations: 178.2 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1314, allocations: 33.7 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.1314, allocations: 96.14 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1315, allocations: 15.73 kB / 0.493 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.1315, allocations: 21.72 kB / 0.4931 GB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1317, allocations: 322.8 kB / 0.4934 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.1317, allocations: 12 kB / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.411e-05/0.1318, allocations: 33.7 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.1319, allocations: 49.89 kB / 0.4935 GB, free: 6.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1319, allocations: 0 / 0.4935 GB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001458/0.132, allocations: 89.45 kB / 0.4935 GB, free: 6.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1321, allocations: 4 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1321, allocations: 0 / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1321, allocations: 0 / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.1322, allocations: 20.02 kB / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1322, allocations: 0 / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1322, allocations: 7.844 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1322, allocations: 4 kB / 0.4936 GB, free: 6.383 MB / 382.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 (7): * Single equations (assignments): 7 * 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 8.778e-05/0.1323, allocations: 133.7 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1323, allocations: 7.906 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.1324, allocations: 12.31 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1324, allocations: 7.938 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1324, allocations: 0 / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1324, allocations: 4 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1326, allocations: 185.5 kB / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1326, allocations: 4 kB / 0.4939 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.1326, allocations: 3.938 kB / 0.4939 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1326, allocations: 4 kB / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1326, allocations: 4 kB / 0.4939 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1326, allocations: 160 / 0.4939 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1326, allocations: 0 / 0.4939 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1329, allocations: 113 kB / 0.494 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1329, allocations: 88.92 kB / 0.4941 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1329, allocations: 4 kB / 0.4941 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.133, allocations: 8.109 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.133, allocations: 0 / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.133, allocations: 8 kB / 0.4941 GB, free: 5.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.1331, allocations: 144 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 0 / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.1334, allocations: 16 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008655/0.1342, allocations: 408.3 kB / 0.4947 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1344, allocations: 39.98 kB / 0.4947 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1344, allocations: 0 / 0.4947 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.1345, allocations: 23.92 kB / 0.4947 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1347, allocations: 38.75 kB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1351, allocations: 235.8 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1354, allocations: 0.6963 MB / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.1354, allocations: 15.44 kB / 0.4957 GB, free: 4.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1354, allocations: 0 / 0.4957 GB, free: 4.09 MB / 382.1 MB Notification: Performance of Templates: time 0.00319/0.1386, allocations: 1.676 MB / 0.4973 GB, free: 2.414 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches