Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 104.8 kB / 16.4 MB, free: 6.461 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.001136/0.001136, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.204/0.204, allocations: 43.53 MB / 314.1 MB, free: 444 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.001357/0.001357, allocations: 69.89 kB / 441.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 57.8 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002926/0.1303, allocations: 1.692 MB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1324, allocations: 1.41 MB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.1326, allocations: 7.875 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.1329, allocations: 39.77 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.1332, allocations: 63.69 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1335, allocations: 87.77 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1338, allocations: 95.75 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1339, allocations: 28.19 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.134, allocations: 39.8 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1342, allocations: 43.77 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1342, allocations: 4 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1343, allocations: 67.89 kB / 0.4914 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1344, allocations: 8 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.1345, allocations: 31.8 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1347, allocations: 115.7 kB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1347, allocations: 0 / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1347, allocations: 4 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1347, allocations: 0 / 0.4916 GB, free: 7.949 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006005/0.1353, allocations: 407 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1354, allocations: 15.89 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.1354, allocations: 12.78 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1357, allocations: 203.8 kB / 0.4922 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1357, allocations: 4.375 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1358, allocations: 8.125 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1359, allocations: 71.39 kB / 0.4923 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.136, allocations: 0 / 0.4923 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.136, allocations: 3.984 kB / 0.4923 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.136, allocations: 0 / 0.4923 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.1361, allocations: 19.94 kB / 0.4923 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.1364, allocations: 284.7 kB / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1366, allocations: 62.67 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.1367, allocations: 20.84 kB / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1367, allocations: 4 kB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.1369, allocations: 67.33 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1369, allocations: 0 / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005548/0.1374, allocations: 169.3 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1375, allocations: 81.09 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1377, allocations: 149.8 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1377, allocations: 29.7 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.1377, allocations: 92.12 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.1378, allocations: 27.64 kB / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1378, allocations: 21.72 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.138, allocations: 330.8 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.138, allocations: 20 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.1381, allocations: 42.5 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1382, allocations: 66.02 kB / 0.4937 GB, free: 5.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1382, allocations: 0 / 0.4937 GB, free: 5.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001755/0.1384, allocations: 93.58 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1384, allocations: 8.062 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1384, allocations: 8 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1385, allocations: 3.938 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.1386, allocations: 16 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1386, allocations: 0 / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.1386, allocations: 11.92 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1386, allocations: 7.938 kB / 0.4939 GB, free: 5.387 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 (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 0.0001055/0.1388, allocations: 117.8 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1388, allocations: 11.81 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.1388, allocations: 20.7 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1388, allocations: 4 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1389, allocations: 0 / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1389, allocations: 3.938 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.1393, allocations: 387.3 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1393, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1394, allocations: 15.92 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1394, allocations: 0 / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1394, allocations: 7.969 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1394, allocations: 4 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1394, allocations: 0 / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1396, allocations: 204.3 kB / 0.4946 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.1397, allocations: 81.02 kB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1397, allocations: 11.94 kB / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.1398, allocations: 3.984 kB / 0.4947 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.1398, allocations: 8 kB / 0.4947 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1399, allocations: 4 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.14, allocations: 118.9 kB / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.14, allocations: 0 / 0.4948 GB, free: 4.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1402, allocations: 39.92 kB / 0.4948 GB, free: 4.258 MB / 382.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.001139/0.1414, allocations: 0.4939 MB / 0.4953 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1416, allocations: 59.91 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1416, allocations: 0 / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.1417, allocations: 32.05 kB / 0.4954 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.142, allocations: 31.84 kB / 0.4954 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.1424, allocations: 194.8 kB / 0.4956 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1427, allocations: 0.7001 MB / 0.4963 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.1427, allocations: 25.17 kB / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1428, allocations: 19.42 kB / 0.4964 GB, free: 2.691 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1428, allocations: 0 / 0.4964 GB, free: 2.691 MB / 382.1 MB Notification: Performance of Templates: time 0.004525/0.1473, allocations: 1.963 MB / 0.4983 GB, free: 0.7344 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches