Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 107 kB / 16.41 MB, free: 6.457 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.001273/0.001274, allocations: 189.5 kB / 17.34 MB, free: 5.723 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.589/1.589, 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.2198/0.2198, allocations: 43.52 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.001553/0.001553, allocations: 73.47 kB / 441.9 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1262, allocations: 57.79 MB / 499.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002953/0.1292, allocations: 1.844 MB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1306, allocations: 0.9014 MB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.1307, allocations: 7.938 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.1312, allocations: 255.3 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.1316, allocations: 179.4 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.1319, allocations: 155.6 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.1322, allocations: 247.3 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1324, allocations: 29.52 kB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1325, allocations: 115.6 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1327, allocations: 187.4 kB / 0.4918 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1328, allocations: 4 kB / 0.4918 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.1329, allocations: 47.97 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.133, allocations: 59.77 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.133, allocations: 87.3 kB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.1333, allocations: 219.2 kB / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1333, allocations: 4 kB / 0.4922 GB, free: 7.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1333, allocations: 4 kB / 0.4922 GB, free: 7.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1334, allocations: 0 / 0.4922 GB, free: 7.367 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006875/0.1341, allocations: 0.5602 MB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1341, allocations: 11.89 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.1342, allocations: 28.56 kB / 0.4928 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1345, allocations: 288 kB / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1345, allocations: 4.375 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1346, allocations: 8.125 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.1348, allocations: 99.34 kB / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1348, allocations: 3.938 kB / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1348, allocations: 8 kB / 0.4931 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1348, allocations: 0 / 0.4931 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.135, allocations: 35.97 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1355, allocations: 456.9 kB / 0.4936 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.1357, allocations: 109.3 kB / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.963e-05/0.1358, allocations: 45.7 kB / 0.4938 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1359, allocations: 11.91 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.1361, allocations: 113 kB / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1361, allocations: 0 / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008369/0.1369, allocations: 372.3 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.137, allocations: 93.03 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.1375, allocations: 477.7 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1375, allocations: 33.7 kB / 0.4948 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1376, allocations: 160.3 kB / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.1377, allocations: 51.38 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.1377, allocations: 37.7 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1379, allocations: 338.8 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.138, allocations: 47.97 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1381, allocations: 74.84 kB / 0.4955 GB, free: 3.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.1383, allocations: 119.3 kB / 0.4956 GB, free: 3.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1383, allocations: 0 / 0.4956 GB, free: 3.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003225/0.1386, allocations: 201.2 kB / 0.4958 GB, free: 3.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1387, allocations: 4 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1387, allocations: 0 / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1387, allocations: 4 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1388, allocations: 27.98 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1388, allocations: 7.938 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.1389, allocations: 11.94 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1389, allocations: 11.97 kB / 0.4959 GB, free: 3.297 MB / 382.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001393/0.1391, allocations: 173.8 kB / 0.496 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1391, allocations: 27.62 kB / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.1392, allocations: 34.81 kB / 0.4961 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1392, allocations: 4 kB / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1392, allocations: 3.938 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1392, allocations: 0 / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.1399, allocations: 0.6359 MB / 0.4967 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1399, allocations: 4 kB / 0.4967 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.14, allocations: 19.88 kB / 0.4967 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.14, allocations: 4 kB / 0.4967 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.14, allocations: 7.984 kB / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.14, allocations: 0 / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.14, allocations: 0 / 0.4967 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.1404, allocations: 376.1 kB / 0.4971 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1405, allocations: 100.7 kB / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1405, allocations: 0 / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1407, allocations: 11.98 kB / 0.4972 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.1407, allocations: 15.92 kB / 0.4972 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1407, allocations: 12 kB / 0.4972 GB, free: 1.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.1411, allocations: 363.1 kB / 0.4976 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1411, allocations: 0 / 0.4976 GB, free: 1.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.1414, allocations: 32 kB / 0.4976 GB, free: 1.383 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001017/0.1424, allocations: 475.2 kB / 0.4981 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1427, allocations: 115.8 kB / 0.4982 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1427, allocations: 4 kB / 0.4982 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1428, allocations: 60.38 kB / 0.4982 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.1434, allocations: 69.27 kB / 0.4983 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/0.1441, allocations: 0.5225 MB / 0.4988 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.1445, allocations: 0.7788 MB / 0.4996 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.38e-05/0.1446, allocations: 29.92 kB / 0.4996 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.1447, allocations: 23.44 kB / 0.4996 GB, free: 15.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1447, allocations: 0 / 0.4996 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Templates: time 0.00594/0.1506, allocations: 2.761 MB / 0.5023 GB, free: 12.55 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches