Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 106.8 kB / 16.27 MB, free: 6 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.001049/0.001049, allocations: 186 kB / 17.19 MB, free: 5.621 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.691/1.691, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2269/0.2269, allocations: 43.52 MB / 314 MB, free: 0.5273 MB / 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.001526/0.001526, allocations: 70.03 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1263, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003311/0.1296, allocations: 1.697 MB / 442.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1309, allocations: 0.7961 MB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.131, allocations: 4 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.1314, allocations: 51.75 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.1317, allocations: 55.75 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1319, allocations: 91.7 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1321, allocations: 87.7 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1322, allocations: 24.16 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.1323, allocations: 39.8 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.1324, allocations: 27.84 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1324, allocations: 4 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1325, allocations: 39.98 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.1326, allocations: 19.92 kB / 443.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1327, allocations: 35.73 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1329, allocations: 131.5 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1329, allocations: 0 / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1329, allocations: 4 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1329, allocations: 0 / 443.7 MB, free: 3.699 MB / 318.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.0004783/0.1334, allocations: 422.8 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1334, allocations: 11.89 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.1335, allocations: 34.75 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.1335, allocations: 8.844 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1337, allocations: 215.9 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1337, allocations: 4.375 kB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1338, allocations: 3.938 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1339, allocations: 61.61 kB / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1339, allocations: 0 / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.134, allocations: 0 / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.134, allocations: 4 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.134, allocations: 15.98 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.1344, allocations: 296.9 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1345, allocations: 62.61 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.1346, allocations: 20.84 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1346, allocations: 7.922 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.1348, allocations: 67.39 kB / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1348, allocations: 0 / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004984/0.1353, allocations: 181.1 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.1353, allocations: 55.41 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1355, allocations: 230.6 kB / 445.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.1355, allocations: 25.7 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.1355, allocations: 108.1 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1356, allocations: 23.64 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1356, allocations: 21.72 kB / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.1357, allocations: 326.8 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.1357, allocations: 24 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.1358, allocations: 41.64 kB / 446 MB, free: 1.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.1359, allocations: 61.69 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1359, allocations: 0 / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001505/0.136, allocations: 101.4 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1361, allocations: 5.25 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1361, allocations: 4.031 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1361, allocations: 0 / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.1362, allocations: 19.98 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1362, allocations: 0 / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.1362, allocations: 3.938 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1363, allocations: 8 kB / 446.2 MB, free: 1.027 MB / 318.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 7.405e-05/0.1363, allocations: 137.6 kB / 446.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1364, allocations: 15.81 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.1364, allocations: 21.39 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1364, allocations: 4 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1364, allocations: 4 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1364, allocations: 3.938 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.1368, allocations: 391.3 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1368, allocations: 3.984 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.1368, allocations: 8.375 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1368, allocations: 3.938 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.1368, allocations: 8 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1368, allocations: 4.031 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1368, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.137, allocations: 200.7 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.137, allocations: 92.91 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1371, allocations: 11.88 kB / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.1371, allocations: 0 / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1372, allocations: 15.98 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1372, allocations: 4 kB / 447.1 MB, free: 8 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1374, allocations: 163.2 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1374, allocations: 0 / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1376, allocations: 31.98 kB / 447.3 MB, free: 15.82 MB / 334.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.001439/0.1391, allocations: 1.106 MB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1393, allocations: 63.91 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1393, allocations: 4.062 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.1394, allocations: 24 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1397, allocations: 26 kB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1414, allocations: 1.71 MB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1417, allocations: 0.7117 MB / 450.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.1418, allocations: 21.19 kB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1419, allocations: 39.42 kB / 451 MB, free: 12.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1419, allocations: 0 / 451 MB, free: 12.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.1621, allocations: 3.472 MB / 454.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.748, allocations: 11.94 kB / 454.4 MB, free: 8.559 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches