Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 119.3 kB / 17.09 MB, free: 5.938 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.001514/0.001514, allocations: 197.2 kB / 18.01 MB, free: 5.027 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.42/1.42, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2372/0.2372, allocations: 43.53 MB / 314.8 MB, free: 452 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.001378/0.001378, allocations: 65.47 kB / 442.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1348, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004185/0.1391, allocations: 1.905 MB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1408, allocations: 0.8429 MB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.141, allocations: 3.938 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.1414, allocations: 47.69 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.1418, allocations: 59.7 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.1422, allocations: 103.7 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.1425, allocations: 131.6 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1427, allocations: 37.47 kB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1429, allocations: 55.7 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.143, allocations: 47.72 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.143, allocations: 8 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1432, allocations: 43.98 kB / 0.4918 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.1433, allocations: 31.84 kB / 0.4918 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.1434, allocations: 59.55 kB / 0.4919 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1437, allocations: 139.6 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1437, allocations: 0 / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1437, allocations: 0 / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1437, allocations: 0 / 0.492 GB, free: 8.184 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008108/0.1445, allocations: 488.4 kB / 0.4925 GB, free: 7.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.1446, allocations: 11.89 kB / 0.4925 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.567e-05/0.1447, allocations: 16.75 kB / 0.4925 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.1451, allocations: 236 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1452, allocations: 4.375 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.1452, allocations: 12.12 kB / 0.4928 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.1455, allocations: 115.8 kB / 0.4929 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1455, allocations: 0 / 0.4929 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1456, allocations: 0 / 0.4929 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1456, allocations: 4 kB / 0.4929 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1457, allocations: 51.97 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.1465, allocations: 0.5008 MB / 0.4934 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.1469, allocations: 94.59 kB / 0.4935 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.538e-05/0.147, allocations: 36.84 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1471, allocations: 3.984 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.1473, allocations: 83.38 kB / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.1473, allocations: 0 / 0.4936 GB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004378/0.1477, allocations: 137.5 kB / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1478, allocations: 59.34 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.148, allocations: 195.4 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.148, allocations: 25.7 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.1481, allocations: 116 kB / 0.4941 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.1482, allocations: 28.02 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.1482, allocations: 25.72 kB / 0.4942 GB, free: 5.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1484, allocations: 330.8 kB / 0.4945 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.1485, allocations: 31.91 kB / 0.4945 GB, free: 5.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1486, allocations: 64.22 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1488, allocations: 96.2 kB / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1488, allocations: 0 / 0.4947 GB, free: 5.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002768/0.1491, allocations: 137.3 kB / 0.4948 GB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1491, allocations: 8 kB / 0.4948 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1491, allocations: 4.125 kB / 0.4948 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1491, allocations: 7.938 kB / 0.4948 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1492, allocations: 27.86 kB / 0.4949 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1493, allocations: 7.984 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.1493, allocations: 11.91 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1494, allocations: 7.984 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001122/0.1495, allocations: 125.8 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1495, allocations: 15.81 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.1496, allocations: 17.39 kB / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1496, allocations: 7.938 kB / 0.495 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1496, allocations: 0 / 0.495 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1496, allocations: 4 kB / 0.495 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1498, allocations: 221.5 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1498, allocations: 0 / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.1499, allocations: 8 kB / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.1499, allocations: 3.984 kB / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1499, allocations: 4 kB / 0.4953 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1499, allocations: 3.938 kB / 0.4953 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.15, allocations: 0 / 0.4953 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.1503, allocations: 188.9 kB / 0.4955 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.1504, allocations: 85.05 kB / 0.4955 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1504, allocations: 3.984 kB / 0.4955 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.1505, allocations: 11.92 kB / 0.4956 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.1506, allocations: 11.98 kB / 0.4956 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1506, allocations: 4 kB / 0.4956 GB, free: 4.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1507, allocations: 141.3 kB / 0.4957 GB, free: 4.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1507, allocations: 0 / 0.4957 GB, free: 4.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000242/0.151, allocations: 28.12 kB / 0.4957 GB, free: 4.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00096/0.1519, allocations: 412.3 kB / 0.4961 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1522, allocations: 83.83 kB / 0.4962 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1522, allocations: 256 / 0.4962 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1523, allocations: 43.92 kB / 0.4962 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1527, allocations: 46.94 kB / 0.4963 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.1533, allocations: 285.6 kB / 0.4966 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1536, allocations: 0.7123 MB / 0.4973 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.1536, allocations: 23.42 kB / 0.4973 GB, free: 2.398 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1536, allocations: 0 / 0.4973 GB, free: 2.398 MB / 382.1 MB Notification: Performance of Templates: time 0.004893/0.1585, allocations: 2.158 MB / 0.4994 GB, free: 244 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches