Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 208.3 kB / 20.74 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 499.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1157, allocations: 65.42 MB / 0.5518 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003563/0.1193, allocations: 1.947 MB / 0.5537 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1211, allocations: 1.072 MB / 0.5548 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.1212, allocations: 4 kB / 0.5548 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1215, allocations: 43.7 kB / 0.5548 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.1218, allocations: 103.5 kB / 0.5549 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.122, allocations: 91.64 kB / 0.555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1222, allocations: 155.5 kB / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1224, allocations: 21.77 kB / 0.5552 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1225, allocations: 71.64 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.1226, allocations: 43.72 kB / 0.5553 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1226, allocations: 8 kB / 0.5553 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.1227, allocations: 51.97 kB / 0.5553 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1227, allocations: 19.92 kB / 0.5553 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.1228, allocations: 55.61 kB / 0.5554 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1231, allocations: 159.2 kB / 0.5556 GB, free: 6.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1231, allocations: 0 / 0.5556 GB, free: 6.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1231, allocations: 0 / 0.5556 GB, free: 6.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1231, allocations: 4 kB / 0.5556 GB, free: 6.23 MB / 414.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.0007227/0.1238, allocations: 488.1 kB / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1238, allocations: 12.03 kB / 0.556 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.1239, allocations: 38.73 kB / 0.5561 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.1239, allocations: 16.84 kB / 0.5561 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1243, allocations: 232.9 kB / 0.5563 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1243, allocations: 4.375 kB / 0.5563 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1243, allocations: 15.94 kB / 0.5563 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1246, allocations: 102 kB / 0.5564 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1246, allocations: 3.938 kB / 0.5564 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1246, allocations: 8 kB / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1246, allocations: 0 / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1247, allocations: 43.97 kB / 0.5565 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.1253, allocations: 0.5048 MB / 0.557 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1257, allocations: 86.66 kB / 0.5571 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.1258, allocations: 40.77 kB / 0.5571 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1258, allocations: 7.938 kB / 0.5571 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.126, allocations: 79.38 kB / 0.5572 GB, free: 4.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.126, allocations: 0 / 0.5572 GB, free: 4.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004139/0.1264, allocations: 153.4 kB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1264, allocations: 55.41 kB / 0.5574 GB, free: 4.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1266, allocations: 194.3 kB / 0.5576 GB, free: 3.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1267, allocations: 29.7 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.1268, allocations: 128 kB / 0.5577 GB, free: 3.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1268, allocations: 23.81 kB / 0.5577 GB, free: 3.762 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.1268, allocations: 29.7 kB / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.127, allocations: 322.8 kB / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-05/0.1271, allocations: 31.98 kB / 0.5581 GB, free: 3.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1272, allocations: 75.95 kB / 0.5582 GB, free: 3.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1274, allocations: 104.2 kB / 0.5583 GB, free: 3.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1274, allocations: 0 / 0.5583 GB, free: 3.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002915/0.1277, allocations: 133.5 kB / 0.5584 GB, free: 3.031 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1277, allocations: 7.984 kB / 0.5584 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1277, allocations: 8 kB / 0.5584 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1278, allocations: 3.938 kB / 0.5584 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1279, allocations: 28.06 kB / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1279, allocations: 3.984 kB / 0.5585 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.1279, allocations: 16.36 kB / 0.5585 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1279, allocations: 8 kB / 0.5585 GB, free: 2.957 MB / 414.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.0001159/0.1281, allocations: 126.2 kB / 0.5586 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1281, allocations: 19.91 kB / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.1281, allocations: 13.41 kB / 0.5586 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1281, allocations: 7.875 kB / 0.5586 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1281, allocations: 0 / 0.5586 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1281, allocations: 4 kB / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1284, allocations: 209.6 kB / 0.5588 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1284, allocations: 4 kB / 0.5588 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.1284, allocations: 11.94 kB / 0.5589 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1284, allocations: 0 / 0.5589 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1284, allocations: 0 / 0.5589 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1284, allocations: 11.92 kB / 0.5589 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1285, allocations: 7.922 kB / 0.5589 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.1289, allocations: 184.9 kB / 0.559 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.1289, allocations: 92.98 kB / 0.5591 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1289, allocations: 0 / 0.5591 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.129, allocations: 11.92 kB / 0.5591 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1291, allocations: 11.98 kB / 0.5592 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1291, allocations: 4 kB / 0.5592 GB, free: 2.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1292, allocations: 140.4 kB / 0.5593 GB, free: 2.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1292, allocations: 64 / 0.5593 GB, free: 2.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1294, allocations: 28 kB / 0.5593 GB, free: 1.992 MB / 414.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.002113/0.1316, allocations: 1.024 MB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1318, allocations: 79.84 kB / 0.5604 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1318, allocations: 0 / 0.5604 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1319, allocations: 39.91 kB / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1322, allocations: 43.36 kB / 0.5605 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1343, allocations: 1.762 MB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1347, allocations: 0.7162 MB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.1348, allocations: 17.41 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.1348, allocations: 39.42 kB / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1348, allocations: 0 / 0.563 GB, free: 14.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1614, allocations: 3.86 MB / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.401, allocations: 4 kB / 0.5667 GB, free: 10.48 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.643435356672853]