Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 95.58 kB / 17.35 MB, free: 6.371 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.001208/0.001208, allocations: 175.3 kB / 18.26 MB, free: 5.52 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.497/1.497, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002013/0.1304, allocations: 1.417 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1317, allocations: 0.8459 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.1318, allocations: 4 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1321, allocations: 47.88 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1323, allocations: 51.81 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1326, allocations: 99.14 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1327, allocations: 99.69 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.1328, allocations: 8.234 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.1329, allocations: 47.77 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.133, allocations: 27.8 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.133, allocations: 4 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.1331, allocations: 39.98 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.1332, allocations: 27.91 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.1333, allocations: 73.36 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1335, allocations: 119.8 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1335, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1335, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1335, allocations: 0 / 475.2 MB, free: 10.41 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.0005562/0.1341, allocations: 433 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1341, allocations: 11.97 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.1342, allocations: 12.84 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1344, allocations: 212 kB / 475.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1344, allocations: 4.375 kB / 475.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1345, allocations: 12.12 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1346, allocations: 49.67 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1346, allocations: 3.906 kB / 475.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1346, allocations: 8 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1347, allocations: 4 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.577e-05/0.1347, allocations: 19.92 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1351, allocations: 300.9 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1353, allocations: 50.69 kB / 476.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1353, allocations: 20.84 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1353, allocations: 0 / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1355, allocations: 71.33 kB / 476.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1355, allocations: 8 kB / 476.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005117/0.1361, allocations: 185 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1361, allocations: 51.41 kB / 476.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1363, allocations: 266.9 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1364, allocations: 25.7 kB / 476.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.1364, allocations: 116 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.1365, allocations: 19.8 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.1365, allocations: 13.72 kB / 477 MB, free: 8.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1366, allocations: 334.8 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.1367, allocations: 19.98 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.1368, allocations: 37.7 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1369, allocations: 65.58 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1369, allocations: 0 / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.1371, allocations: 101.5 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1371, allocations: 4 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1371, allocations: 3.938 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1371, allocations: 4 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.1372, allocations: 15.98 kB / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1372, allocations: 160 / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.1373, allocations: 11.94 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1373, allocations: 3.984 kB / 477.6 MB, free: 7.727 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.0001093/0.1374, allocations: 140.9 kB / 477.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.1374, allocations: 19.81 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.1375, allocations: 25.33 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1375, allocations: 0 / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1375, allocations: 0 / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1375, allocations: 3.938 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1379, allocations: 407.2 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.138, allocations: 4 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.138, allocations: 7.938 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.138, allocations: 8.031 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.138, allocations: 4.312 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.138, allocations: 0 / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.138, allocations: 8 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1383, allocations: 204.3 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.1383, allocations: 88.92 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1384, allocations: 3.938 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.1384, allocations: 15.98 kB / 478.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.1385, allocations: 7.984 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1385, allocations: 4 kB / 478.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1387, allocations: 204.2 kB / 478.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1387, allocations: 3.938 kB / 478.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1389, allocations: 24 kB / 478.8 MB, free: 6.465 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.001042/0.14, allocations: 461.5 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1402, allocations: 55.97 kB / 479.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1402, allocations: 3.938 kB / 479.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.1403, allocations: 24 kB / 479.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1406, allocations: 36.03 kB / 479.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.1411, allocations: 306.9 kB / 479.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1414, allocations: 0.7265 MB / 480.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.1415, allocations: 17.19 kB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1415, allocations: 19.36 kB / 480.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1415, allocations: 4 kB / 480.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of Templates: time 0.004831/0.1464, allocations: 1.645 MB / 482 MB, free: 3.312 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches