Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001421/0.001421, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.0016/0.0016, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.592/1.592, 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.2332/0.2332, allocations: 44.91 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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001954/0.001954, allocations: 73.92 kB / 499.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1315, allocations: 65.43 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004426/0.1359, allocations: 1.723 MB / 0.5535 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.1394, allocations: 1.652 MB / 0.5551 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1395, allocations: 0 / 0.5551 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1399, allocations: 31.77 kB / 0.5552 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.1403, allocations: 107.5 kB / 0.5553 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1406, allocations: 71.73 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.1409, allocations: 119.6 kB / 0.5555 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.141, allocations: 16.28 kB / 0.5555 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1411, allocations: 51.77 kB / 0.5555 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1413, allocations: 47.77 kB / 0.5556 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1413, allocations: 4 kB / 0.5556 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.1416, allocations: 111.9 kB / 0.5557 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.1417, allocations: 19.92 kB / 0.5557 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.983e-05/0.1417, allocations: 43.67 kB / 0.5557 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.1421, allocations: 179.4 kB / 0.5559 GB, free: 5.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1421, allocations: 4 kB / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1421, allocations: 0 / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1421, allocations: 4 kB / 0.5559 GB, free: 5.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007994/0.1429, allocations: 438.5 kB / 0.5563 GB, free: 5.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.143, allocations: 15.97 kB / 0.5563 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.143, allocations: 30.75 kB / 0.5564 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.141e-05/0.1431, allocations: 8.891 kB / 0.5564 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1435, allocations: 224.1 kB / 0.5566 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1435, allocations: 384 / 0.5566 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1436, allocations: 7.938 kB / 0.5566 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.1438, allocations: 83.36 kB / 0.5567 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1438, allocations: 3.953 kB / 0.5567 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1438, allocations: 0 / 0.5567 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1438, allocations: 7.938 kB / 0.5567 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.144, allocations: 19.98 kB / 0.5567 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.1445, allocations: 312.7 kB / 0.557 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.1447, allocations: 70.67 kB / 0.5571 GB, free: 4.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.889e-05/0.1448, allocations: 16.86 kB / 0.5571 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1449, allocations: 4 kB / 0.5571 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1451, allocations: 75.31 kB / 0.5572 GB, free: 4.398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.1451, allocations: 0 / 0.5572 GB, free: 4.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008432/0.1459, allocations: 197.5 kB / 0.5574 GB, free: 4.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.146, allocations: 85.11 kB / 0.5574 GB, free: 4.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.1462, allocations: 168.4 kB / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1463, allocations: 33.69 kB / 0.5576 GB, free: 3.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1463, allocations: 96.14 kB / 0.5577 GB, free: 3.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.1464, allocations: 31.73 kB / 0.5578 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.1464, allocations: 21.72 kB / 0.5578 GB, free: 3.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1466, allocations: 326.8 kB / 0.5581 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.1466, allocations: 31.98 kB / 0.5581 GB, free: 3.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.1467, allocations: 50.5 kB / 0.5582 GB, free: 3.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1469, allocations: 69.64 kB / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1469, allocations: 96 / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002301/0.1471, allocations: 121.5 kB / 0.5584 GB, free: 3.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1471, allocations: 8.062 kB / 0.5584 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1471, allocations: 0 / 0.5584 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1471, allocations: 4 kB / 0.5584 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.1472, allocations: 15.98 kB / 0.5584 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1472, allocations: 3.938 kB / 0.5584 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.1473, allocations: 11.94 kB / 0.5584 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1473, allocations: 4 kB / 0.5584 GB, free: 3.062 MB / 414.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 (11): * Single equations (assignments): 11 * 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.0001123/0.1474, allocations: 124.7 kB / 0.5585 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1475, allocations: 15.88 kB / 0.5585 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.1475, allocations: 16.72 kB / 0.5585 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1475, allocations: 4 kB / 0.5586 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1475, allocations: 0 / 0.5586 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1475, allocations: 7.922 kB / 0.5586 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.1481, allocations: 419.2 kB / 0.559 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1481, allocations: 0 / 0.559 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.1481, allocations: 11.98 kB / 0.559 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1481, allocations: 3.938 kB / 0.559 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1481, allocations: 8.031 kB / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1481, allocations: 0 / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1481, allocations: 0.5469 kB / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1484, allocations: 212.3 kB / 0.5592 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.1485, allocations: 89.06 kB / 0.5593 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1485, allocations: 3.938 kB / 0.5593 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.1486, allocations: 4 kB / 0.5593 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1486, allocations: 23.92 kB / 0.5593 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1486, allocations: 4 kB / 0.5593 GB, free: 2.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1487, allocations: 131.2 kB / 0.5594 GB, free: 1.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 0 / 0.5594 GB, free: 1.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.1491, allocations: 47.86 kB / 0.5595 GB, free: 1.855 MB / 414.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 (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.002468/0.1515, allocations: 1.207 MB / 0.5607 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1518, allocations: 63.91 kB / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1518, allocations: 64 / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/0.1519, allocations: 39.91 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1522, allocations: 35.77 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1542, allocations: 1.656 MB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1546, allocations: 0.7084 MB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.141e-05/0.1546, allocations: 24.42 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1547, allocations: 35.42 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1547, allocations: 0 / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.1806, allocations: 4.197 MB / 0.5672 GB, free: 9.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.17, allocations: 10.36 kB / 0.5673 GB, free: 9.969 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.51412117201835]