Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001268/0.001268, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.376/1.376, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2208/0.2208, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 64.44 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1337, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004216/0.1379, allocations: 1.692 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1395, allocations: 0.8808 MB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1396, allocations: 0 / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.14, allocations: 51.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1403, allocations: 63.75 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.1407, allocations: 118.8 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.1409, allocations: 91.7 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1411, allocations: 8.234 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1412, allocations: 43.78 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.1413, allocations: 31.84 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1414, allocations: 4 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1415, allocations: 39.98 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.1416, allocations: 35.84 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.1417, allocations: 39.62 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.142, allocations: 131.8 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1421, allocations: 4 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1421, allocations: 0 / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1421, allocations: 0 / 472.5 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.0006691/0.1428, allocations: 438.7 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1428, allocations: 8.031 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.1429, allocations: 16.75 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1432, allocations: 215.9 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1432, allocations: 4.375 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.1432, allocations: 8.125 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1434, allocations: 57.67 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1434, allocations: 0 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1434, allocations: 3.984 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1434, allocations: 0 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.1435, allocations: 23.98 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1439, allocations: 296.9 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1441, allocations: 54.61 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.1442, allocations: 24.86 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1442, allocations: 4 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.1445, allocations: 63.39 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1445, allocations: 0 / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00059/0.1451, allocations: 192.9 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1451, allocations: 51.41 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1454, allocations: 262.9 kB / 474.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1454, allocations: 33.7 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1455, allocations: 116.1 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1455, allocations: 27.64 kB / 474.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1456, allocations: 17.72 kB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1457, allocations: 330.8 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.1458, allocations: 19.98 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.1459, allocations: 37.7 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.146, allocations: 65.64 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.146, allocations: 0 / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1462, allocations: 101.4 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1462, allocations: 4 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1462, allocations: 192 / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1463, allocations: 4 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.1464, allocations: 19.92 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1464, allocations: 3.938 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.1464, allocations: 15.97 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1465, allocations: 0 / 475 MB, free: 8.418 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.0001073/0.1466, allocations: 137.8 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1466, allocations: 19.8 kB / 475.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.1467, allocations: 17.41 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1467, allocations: 0 / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1467, allocations: 384 / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1467, allocations: 3.938 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1471, allocations: 407.3 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1471, allocations: 4 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.1472, allocations: 8 kB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1472, allocations: 4 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1472, allocations: 7.922 kB / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1472, allocations: 0 / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1472, allocations: 0 / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.1475, allocations: 216.2 kB / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1475, allocations: 88.92 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1476, allocations: 3.938 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.1476, allocations: 7.984 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1477, allocations: 8 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1477, allocations: 0 / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.1479, allocations: 200.2 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1479, allocations: 0 / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1482, allocations: 32 kB / 476.1 MB, free: 7.172 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.001127/0.1493, allocations: 462.2 kB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1495, allocations: 67.91 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1495, allocations: 0 / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.1496, allocations: 27.92 kB / 476.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.15, allocations: 27.98 kB / 476.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.1505, allocations: 283.8 kB / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1509, allocations: 0.7158 MB / 477.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.1509, allocations: 20.86 kB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.151, allocations: 15.44 kB / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.151, allocations: 0 / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004489/0.1555, allocations: 1.749 MB / 479.4 MB, free: 3.961 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches