Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001222, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.001308/0.001308, allocations: 191.9 kB / 18.56 MB, free: 4.613 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.363/1.363, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.227/0.227, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.27 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.004244/0.1212, allocations: 1.696 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1234, allocations: 1.483 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.1235, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1239, allocations: 35.77 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1241, allocations: 63.69 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1245, allocations: 107.6 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.1247, allocations: 103.7 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1248, allocations: 8.234 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/0.1249, allocations: 39.8 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.1251, allocations: 39.83 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.1251, allocations: 4 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1252, allocations: 55.98 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.1253, allocations: 23.91 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.1253, allocations: 39.78 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1256, allocations: 120 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1256, allocations: 7.875 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1256, allocations: 0 / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1256, allocations: 0 / 473.1 MB, free: 10.54 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.0005735/0.1262, allocations: 395.2 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1262, allocations: 8.031 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.1263, allocations: 8.844 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1265, allocations: 212.1 kB / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1265, allocations: 4.375 kB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.1266, allocations: 4.125 kB / 473.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1267, allocations: 71.33 kB / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1268, allocations: 0 / 473.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1268, allocations: 4 kB / 473.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1268, allocations: 4 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.1269, allocations: 15.98 kB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1273, allocations: 284.9 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1274, allocations: 58.61 kB / 474.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.1275, allocations: 16.86 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1275, allocations: 3.938 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.1278, allocations: 71.39 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1278, allocations: 0 / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000552/0.1284, allocations: 181.3 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.1285, allocations: 77.11 kB / 474.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1286, allocations: 152.4 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1287, allocations: 29.7 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.1287, allocations: 96.12 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.1288, allocations: 27.7 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1288, allocations: 21.72 kB / 474.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.129, allocations: 322.8 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.129, allocations: 28.11 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.1291, allocations: 50.5 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.1292, allocations: 57.73 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1292, allocations: 0 / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.1294, allocations: 97.53 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1295, allocations: 8 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1295, allocations: 0 / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1295, allocations: 0 / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.1296, allocations: 15.98 kB / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1296, allocations: 4 kB / 475.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.1297, allocations: 7.875 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1297, allocations: 8 kB / 475.4 MB, free: 7.992 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.0001134/0.1298, allocations: 132.6 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1298, allocations: 7.906 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.1299, allocations: 12.72 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1299, allocations: 0 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1299, allocations: 0 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1299, allocations: 3.938 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.1304, allocations: 395.3 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1304, allocations: 0 / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.1304, allocations: 8 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1304, allocations: 0 / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1305, allocations: 7.938 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1305, allocations: 0 / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1305, allocations: 0 / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1307, allocations: 216.1 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.1308, allocations: 89 kB / 476.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1308, allocations: 3.938 kB / 476.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.1309, allocations: 4 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1309, allocations: 11.98 kB / 476.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1309, allocations: 4 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.1311, allocations: 117.3 kB / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1311, allocations: 0 / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1313, allocations: 28 kB / 476.4 MB, free: 6.867 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.001183/0.1325, allocations: 0.4986 MB / 476.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1327, allocations: 59.86 kB / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1328, allocations: 0 / 476.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.1328, allocations: 35.92 kB / 477 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.000358/0.1332, allocations: 34.56 kB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.1337, allocations: 194.9 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.134, allocations: 0.6973 MB / 477.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.1341, allocations: 25.17 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1341, allocations: 19.44 kB / 477.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1342, allocations: 0 / 477.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of Templates: time 0.005256/0.1394, allocations: 1.96 MB / 479.9 MB, free: 3.504 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches