Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 104.9 kB / 17.63 MB, free: 5.344 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.001179/0.001179, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2065/0.2065, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.5 kB / 408.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 60.83 MB / 469.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003981/0.1411, allocations: 1.688 MB / 470.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1425, allocations: 0.8847 MB / 471.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.1426, allocations: 7.938 kB / 471.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1429, allocations: 35.83 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1431, allocations: 55.69 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1434, allocations: 114.9 kB / 472 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1436, allocations: 103.7 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1437, allocations: 12.23 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.1438, allocations: 39.8 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.1439, allocations: 31.78 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1439, allocations: 4 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.144, allocations: 39.98 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1441, allocations: 15.92 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.1442, allocations: 35.73 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1444, allocations: 123.9 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1444, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1444, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1444, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.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.0005661/0.145, allocations: 410.9 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.145, allocations: 16.02 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.1451, allocations: 8.844 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1453, allocations: 218.5 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1454, allocations: 384 / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1454, allocations: 12.12 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1455, allocations: 57.66 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1456, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1456, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1456, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.1457, allocations: 23.92 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.146, allocations: 284.8 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1462, allocations: 58.69 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.1463, allocations: 20.84 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1463, allocations: 4 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1465, allocations: 67.33 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1466, allocations: 0 / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005382/0.1471, allocations: 185.1 kB / 473.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1472, allocations: 55.41 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1473, allocations: 195.3 kB / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1474, allocations: 25.7 kB / 474 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.1474, allocations: 108.1 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1475, allocations: 19.72 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.1475, allocations: 21.7 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1476, allocations: 334.8 kB / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.1477, allocations: 19.98 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.1478, allocations: 34.08 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1479, allocations: 61.66 kB / 474.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1479, allocations: 0 / 474.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.1481, allocations: 101.6 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1481, allocations: 12.03 kB / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1481, allocations: 0 / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1481, allocations: 0 / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.1482, allocations: 19.94 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1482, allocations: 4 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.1483, allocations: 7.922 kB / 474.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1483, allocations: 4 kB / 474.8 MB, free: 8.551 MB / 350.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.0001151/0.1484, allocations: 125.8 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1485, allocations: 19.8 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.1485, allocations: 21.58 kB / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1485, allocations: 0 / 474.9 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1485, allocations: 3.938 kB / 474.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1485, allocations: 3.938 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.149, allocations: 391.3 kB / 475.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.149, allocations: 3.984 kB / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.149, allocations: 11.94 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.149, allocations: 4 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.149, allocations: 7.969 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.149, allocations: 0 / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.149, allocations: 0 / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1493, allocations: 204.2 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.1493, allocations: 89 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.1494, allocations: 7.938 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.1494, allocations: 4 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1495, allocations: 11.98 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1495, allocations: 4 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1496, allocations: 151.9 kB / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1496, allocations: 0 / 475.8 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1499, allocations: 20 kB / 475.8 MB, free: 7.383 MB / 350.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.001049/0.1509, allocations: 471.6 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1511, allocations: 59.91 kB / 476.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1512, allocations: 0 / 476.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.1512, allocations: 27.98 kB / 476.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1516, allocations: 32.28 kB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.152, allocations: 247.1 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1523, allocations: 0.708 MB / 477.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.1524, allocations: 16.88 kB / 477.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.1524, allocations: 15.44 kB / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1524, allocations: 0 / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of Templates: time 0.004576/0.157, allocations: 1.713 MB / 479.1 MB, free: 4.254 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches