Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 110 kB / 18.3 MB, free: 4.836 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.001638/0.001638, allocations: 199.4 kB / 19.23 MB, free: 3.91 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.45/1.45, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2171/0.2171, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 65.16 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1237, allocations: 60.81 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003095/0.1268, allocations: 1.707 MB / 471.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1282, allocations: 0.873 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.1283, allocations: 3.938 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1286, allocations: 47.77 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1289, allocations: 51.75 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1292, allocations: 111.6 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1294, allocations: 95.7 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1295, allocations: 12.22 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.1296, allocations: 39.8 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.1297, allocations: 31.84 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1297, allocations: 7.938 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1298, allocations: 39.98 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.1299, allocations: 19.91 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.13, allocations: 31.75 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1302, allocations: 119.9 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1302, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1303, allocations: 0 / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1303, allocations: 4 kB / 473.1 MB, free: 11.16 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.0006007/0.1309, allocations: 414 kB / 473.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1309, allocations: 8.031 kB / 473.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.131, allocations: 8.844 kB / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.1312, allocations: 211.9 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1312, allocations: 384 / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1312, allocations: 8.125 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1314, allocations: 53.67 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1314, allocations: 3.984 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1314, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1314, allocations: 0 / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.1315, allocations: 27.98 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.132, allocations: 288.8 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1322, allocations: 54.67 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.1322, allocations: 16.86 kB / 474.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1323, allocations: 11.94 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.1325, allocations: 71.31 kB / 474.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1325, allocations: 0 / 474.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005562/0.1331, allocations: 165.3 kB / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1332, allocations: 55.34 kB / 474.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1334, allocations: 190.2 kB / 474.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1334, allocations: 29.7 kB / 474.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.1334, allocations: 100.1 kB / 474.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1335, allocations: 23.66 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1335, allocations: 25.7 kB / 474.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1337, allocations: 330.8 kB / 475.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.1337, allocations: 16 kB / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.1338, allocations: 37.64 kB / 475.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1339, allocations: 65.64 kB / 475.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1339, allocations: 384 / 475.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.1341, allocations: 105.5 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1341, allocations: 4 kB / 475.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1342, allocations: 0 / 475.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1342, allocations: 8 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.1343, allocations: 19.94 kB / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1343, allocations: 0 / 475.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.1344, allocations: 15.95 kB / 475.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1344, allocations: 0 / 475.4 MB, free: 8.602 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.0001067/0.1345, allocations: 125.8 kB / 475.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1345, allocations: 7.906 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.1346, allocations: 16.7 kB / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1346, allocations: 0 / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1346, allocations: 4 kB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1346, allocations: 3.938 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.135, allocations: 395.5 kB / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.135, allocations: 0 / 476 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.1351, allocations: 11.98 kB / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1351, allocations: 4 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1351, allocations: 3.938 kB / 476 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1351, allocations: 3.938 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1351, allocations: 0 / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1353, allocations: 208.2 kB / 476.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.1354, allocations: 85.02 kB / 476.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1354, allocations: 7.938 kB / 476.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.1355, allocations: 3.984 kB / 476.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1356, allocations: 4 kB / 476.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1356, allocations: 8 kB / 476.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1357, allocations: 143.2 kB / 476.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1357, allocations: 0 / 476.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.136, allocations: 24 kB / 476.5 MB, free: 7.453 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.001019/0.137, allocations: 468.8 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1372, allocations: 67.92 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1372, allocations: 0 / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.1373, allocations: 27.98 kB / 477 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1376, allocations: 29.59 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.1381, allocations: 261 kB / 477.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1384, allocations: 0.7079 MB / 478 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.1384, allocations: 19.42 kB / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1384, allocations: 0 / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of Templates: time 0.003784/0.1422, allocations: 1.899 MB / 479.9 MB, free: 4.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches