Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.0009797/0.0009797, allocations: 188.2 kB / 17.34 MB, free: 5.742 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.525/1.525, 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.2273/0.2273, allocations: 43.51 MB / 314.1 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.001521/0.001521, allocations: 69.45 kB / 441.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1316, allocations: 57.79 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003622/0.1353, allocations: 1.689 MB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1368, allocations: 0.8039 MB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1369, allocations: 0 / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1373, allocations: 39.77 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1376, allocations: 55.7 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1379, allocations: 91.7 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1381, allocations: 95.69 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1382, allocations: 20.2 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1384, allocations: 43.78 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.1385, allocations: 31.84 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1385, allocations: 4 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1386, allocations: 43.98 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.1387, allocations: 23.91 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.1388, allocations: 27.81 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.139, allocations: 107.6 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.139, allocations: 4 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.139, allocations: 4 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.139, allocations: 0 / 0.491 GB, free: 8.602 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.0005801/0.1396, allocations: 391 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1397, allocations: 19.83 kB / 0.4913 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.1397, allocations: 8.844 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.14, allocations: 204.7 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.14, allocations: 7.938 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1401, allocations: 0 / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1402, allocations: 61.61 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1403, allocations: 0 / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1403, allocations: 0 / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1403, allocations: 4 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.1404, allocations: 15.98 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1408, allocations: 280.9 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.141, allocations: 66.61 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.141, allocations: 20.84 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.141, allocations: 0 / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.1412, allocations: 71.38 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1412, allocations: 0 / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005629/0.1418, allocations: 169.2 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1418, allocations: 59.34 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.142, allocations: 162.4 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.142, allocations: 25.7 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.1421, allocations: 96.14 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.1421, allocations: 27.64 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1422, allocations: 21.72 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1423, allocations: 318.8 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.1423, allocations: 27.98 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.1424, allocations: 45.95 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1425, allocations: 53.72 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1426, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.1427, allocations: 105.5 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1428, allocations: 8 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1428, allocations: 0 / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1428, allocations: 7.969 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.1429, allocations: 15.98 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1429, allocations: 4 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.143, allocations: 7.938 kB / 0.4932 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.143, allocations: 4 kB / 0.4932 GB, free: 6.098 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 9.372e-05/0.1431, allocations: 125.7 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1431, allocations: 11.81 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.1432, allocations: 20.64 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1432, allocations: 4 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1432, allocations: 0 / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1432, allocations: 0 / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1436, allocations: 391.3 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1436, allocations: 3.984 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.1437, allocations: 8 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1437, allocations: 4 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1437, allocations: 3.984 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1437, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1437, allocations: 4.031 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1439, allocations: 204.5 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.144, allocations: 88.95 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.144, allocations: 0 / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.1441, allocations: 11.98 kB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1441, allocations: 4 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1442, allocations: 8 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.449e-05/0.1443, allocations: 123.9 kB / 0.4941 GB, free: 4.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1443, allocations: 0 / 0.4941 GB, free: 4.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1445, allocations: 27.98 kB / 0.4942 GB, free: 4.965 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.00103/0.1456, allocations: 470.3 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1458, allocations: 63.84 kB / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1458, allocations: 4 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.1459, allocations: 24 kB / 0.4947 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1462, allocations: 35.27 kB / 0.4947 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.1466, allocations: 218.8 kB / 0.4949 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1469, allocations: 0.6924 MB / 0.4956 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.147, allocations: 21.17 kB / 0.4956 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.147, allocations: 15.44 kB / 0.4956 GB, free: 3.43 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.147, allocations: 0 / 0.4956 GB, free: 3.43 MB / 382.1 MB Notification: Performance of Templates: time 0.004601/0.1516, allocations: 1.688 MB / 0.4973 GB, free: 1.746 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches