Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001667/0.001667, allocations: 120.4 kB / 17.79 MB, free: 5.344 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.002008/0.002008, allocations: 203.3 kB / 20.74 MB, free: 2.398 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.518/1.518, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 46.91 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.89 kB / 0.491 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1342, allocations: 66 MB / 0.5555 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003048/0.1372, allocations: 1.73 MB / 0.5572 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.139, allocations: 1.038 MB / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.1391, allocations: 0 / 0.5582 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1394, allocations: 43.77 kB / 0.5582 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1397, allocations: 99.53 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1399, allocations: 79.72 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1401, allocations: 107.6 kB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.1402, allocations: 12 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.1403, allocations: 43.78 kB / 0.5585 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.1403, allocations: 31.84 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1404, allocations: 4 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.1405, allocations: 47.92 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.1405, allocations: 31.84 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.1406, allocations: 35.75 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1408, allocations: 119.5 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1408, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1408, allocations: 0 / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1408, allocations: 0 / 0.5588 GB, free: 2.332 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006122/0.1414, allocations: 432.3 kB / 0.5592 GB, free: 1.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1415, allocations: 8.031 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1415, allocations: 34.75 kB / 0.5592 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1415, allocations: 12.89 kB / 0.5593 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1419, allocations: 224.1 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1419, allocations: 384 / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1419, allocations: 11.94 kB / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1421, allocations: 49.67 kB / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1421, allocations: 0 / 0.5595 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1421, allocations: 4 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1421, allocations: 0 / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.1422, allocations: 19.98 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1426, allocations: 308.7 kB / 0.5598 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1427, allocations: 50.69 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.1428, allocations: 16.84 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1428, allocations: 4 kB / 0.5599 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.143, allocations: 71.33 kB / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.143, allocations: 0 / 0.56 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005617/0.1435, allocations: 177.3 kB / 0.5602 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1436, allocations: 55.34 kB / 0.5602 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1438, allocations: 214 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1438, allocations: 25.7 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.1439, allocations: 108.1 kB / 0.5605 GB, free: 340 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1439, allocations: 27.83 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.144, allocations: 21.72 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1441, allocations: 326.8 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.1442, allocations: 19.98 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.1443, allocations: 33.7 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1444, allocations: 65.64 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1444, allocations: 4 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000188/0.1446, allocations: 97.59 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1446, allocations: 8 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1446, allocations: 3.938 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1446, allocations: 0 / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.1447, allocations: 19.92 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1447, allocations: 4 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1448, allocations: 3.938 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1448, allocations: 4 kB / 0.5611 GB, free: 15.67 MB / 430.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.0001319/0.1449, allocations: 132 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1449, allocations: 15.91 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.145, allocations: 21.38 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.145, allocations: 4 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.145, allocations: 0 / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.145, allocations: 3.938 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.1455, allocations: 391.3 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1455, allocations: 4.031 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.1455, allocations: 12.36 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1455, allocations: 3.938 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1456, allocations: 8.188 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.1456, allocations: 8.172 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1456, allocations: 3.938 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1458, allocations: 200.3 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.1459, allocations: 89.06 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1459, allocations: 7.938 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.146, allocations: 7.984 kB / 0.562 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.146, allocations: 4 kB / 0.562 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.146, allocations: 4 kB / 0.562 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1462, allocations: 164.3 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1462, allocations: 0 / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1464, allocations: 23.94 kB / 0.5622 GB, free: 14.48 MB / 430.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.002145/0.1486, allocations: 1.105 MB / 0.5633 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1488, allocations: 55.91 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1488, allocations: 0 / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.1489, allocations: 27.98 kB / 0.5634 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1493, allocations: 23.92 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.1514, allocations: 1.702 MB / 0.5651 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.1518, allocations: 0.708 MB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.713e-05/0.1518, allocations: 16.48 kB / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.1519, allocations: 47.34 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1519, allocations: 4 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1765, allocations: 3.517 MB / 0.5692 GB, free: 7.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.036, allocations: 19.98 kB / 0.5693 GB, free: 7.355 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.39304349599115]