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.001265/0.001265, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001371/0.001371, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.485/1.485, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2141/0.2141, allocations: 43.52 MB / 314.1 MB, free: 456 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.001342/0.001342, allocations: 63.91 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1426, allocations: 57.8 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003331/0.1459, allocations: 1.646 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1473, allocations: 0.7883 MB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.1474, allocations: 0 / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1478, allocations: 63.73 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1481, allocations: 63.73 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1483, allocations: 83.77 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1485, allocations: 103.7 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.1486, allocations: 11.97 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.1487, allocations: 51.77 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1488, allocations: 47.77 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1488, allocations: 4 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.1489, allocations: 31.98 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.149, allocations: 15.92 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.149, allocations: 27.81 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1492, allocations: 99.64 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1492, allocations: 4 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1493, allocations: 0 / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1493, allocations: 0 / 0.4909 GB, free: 8.68 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.0005371/0.1498, allocations: 410.9 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1498, allocations: 11.89 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1499, allocations: 12.84 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1502, allocations: 208 kB / 0.4915 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1502, allocations: 8.312 kB / 0.4915 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1502, allocations: 8.125 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1504, allocations: 49.67 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1504, allocations: 0 / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1504, allocations: 0 / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1504, allocations: 4 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.1505, allocations: 19.92 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.1507, allocations: 177.7 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1508, allocations: 50.62 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1509, allocations: 24.78 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1509, allocations: 0 / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.1511, allocations: 67.39 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1511, allocations: 3.938 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003029/0.1514, allocations: 93.52 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1514, allocations: 55.41 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1517, allocations: 186.2 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1517, allocations: 25.7 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.1517, allocations: 100.1 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1518, allocations: 15.81 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1518, allocations: 17.72 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.152, allocations: 322.8 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.152, allocations: 15.98 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.1521, allocations: 25.72 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.48e-05/0.1522, allocations: 45.89 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1522, allocations: 0 / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.1524, allocations: 89.47 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1524, allocations: 4 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1524, allocations: 3.984 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1524, allocations: 4.031 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.1525, allocations: 12 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1525, allocations: 0 / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1526, allocations: 15.84 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1526, allocations: 160 / 0.4929 GB, free: 6.398 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 0.0001043/0.1527, allocations: 129.7 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.1527, allocations: 11.91 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.1528, allocations: 12.31 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1528, allocations: 7.922 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1528, allocations: 4 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1528, allocations: 3.984 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1529, allocations: 189.6 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1529, allocations: 0 / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.153, allocations: 7.938 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.153, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.153, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.153, allocations: 3.984 kB / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.153, allocations: 0 / 0.4933 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1532, allocations: 113 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1533, allocations: 96.91 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1533, allocations: 0 / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.1533, allocations: 4 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1534, allocations: 0 / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1534, allocations: 4 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1535, allocations: 144 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1535, allocations: 0 / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1537, allocations: 19.94 kB / 0.4936 GB, free: 5.562 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.0009171/0.1546, allocations: 411.7 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1548, allocations: 43.97 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1548, allocations: 0 / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/0.1549, allocations: 16 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1552, allocations: 39.14 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.1556, allocations: 210 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.156, allocations: 0.6965 MB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.156, allocations: 12.56 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.1561, allocations: 19.42 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1561, allocations: 0 / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of Templates: time 0.004306/0.1604, allocations: 1.47 MB / 0.4965 GB, free: 2.648 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/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