Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001167/0.001167, allocations: 187 kB / 19.34 MB, free: 3.641 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.531/1.531, allocations: 222.9 MB / 243 MB, free: 15.07 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.2818/0.2818, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 64.19 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1318, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002806/0.1346, allocations: 1.703 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1359, allocations: 0.8769 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.316e-05/0.136, allocations: 4 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1363, allocations: 31.77 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.1365, allocations: 59.75 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1368, allocations: 111.5 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.137, allocations: 91.75 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1371, allocations: 12.23 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.1372, allocations: 35.78 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.1372, allocations: 39.84 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1373, allocations: 4 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.1374, allocations: 43.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.1374, allocations: 19.86 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.1375, allocations: 31.8 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1377, allocations: 103.6 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1377, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1378, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1378, allocations: 0 / 473.9 MB, free: 10.48 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.0005706/0.1383, allocations: 403 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1384, allocations: 15.97 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.1384, allocations: 8.844 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1388, allocations: 208.7 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1388, allocations: 7.938 kB / 474.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1389, allocations: 4 kB / 474.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.139, allocations: 53.67 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1391, allocations: 3.906 kB / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1391, allocations: 0 / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1391, allocations: 4 kB / 474.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.1392, allocations: 19.98 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1396, allocations: 284.9 kB / 474.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1398, allocations: 62.61 kB / 474.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.1399, allocations: 16.86 kB / 474.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1399, allocations: 4 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.1401, allocations: 67.39 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1401, allocations: 0 / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004995/0.1406, allocations: 173.2 kB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/0.1408, allocations: 55.34 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.141, allocations: 159.9 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.141, allocations: 29.7 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/0.1415, allocations: 108 kB / 475.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.1416, allocations: 27.59 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1416, allocations: 21.7 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0004875/0.1421, allocations: 322.8 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.1424, allocations: 20 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.1425, allocations: 33.7 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1426, allocations: 65.7 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1426, allocations: 0 / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.1428, allocations: 97.52 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004746/0.1433, allocations: 7.984 kB / 476.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1433, allocations: 4 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1433, allocations: 3.938 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.1434, allocations: 15.94 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1434, allocations: 3.938 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.1435, allocations: 8.031 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1435, allocations: 11.98 kB / 476.2 MB, free: 7.953 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 9.156e-05/0.1436, allocations: 115.9 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1436, allocations: 8.281 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.1437, allocations: 24.58 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1437, allocations: 4 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1437, allocations: 0 / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1437, allocations: 4 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.145, allocations: 395.3 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.145, allocations: 0 / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.145, allocations: 8 kB / 476.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1451, allocations: 0 / 476.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1451, allocations: 4 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1451, allocations: 0 / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1451, allocations: 0 / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.1458, allocations: 216.1 kB / 476.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.1462, allocations: 85.02 kB / 477 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1463, allocations: 0 / 477 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.1463, allocations: 4 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.1464, allocations: 7.984 kB / 477 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1464, allocations: 4 kB / 477 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1466, allocations: 125.3 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.082e-06/0.1466, allocations: 0 / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1469, allocations: 20 kB / 477.2 MB, free: 6.844 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.001553/0.1484, allocations: 464 kB / 477.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1486, allocations: 63.86 kB / 477.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1486, allocations: 4.062 kB / 477.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.1487, allocations: 35.92 kB / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1491, allocations: 34.48 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/0.1499, allocations: 198.9 kB / 477.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.1514, allocations: 0.7002 MB / 478.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.1515, allocations: 13.19 kB / 478.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1515, allocations: 15.44 kB / 478.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1515, allocations: 0 / 478.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of Templates: time 0.006545/0.1581, allocations: 1.696 MB / 480.4 MB, free: 3.773 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches