Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.002044/0.002044, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002352/0.002352, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2285/0.2285, allocations: 46.91 MB / 357.1 MB, free: 10.34 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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.89 kB / 0.491 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1216, allocations: 65.98 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002939/0.1245, allocations: 1.606 MB / 0.557 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1255, allocations: 0.5455 MB / 0.5575 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.1256, allocations: 4 kB / 0.5575 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.1258, allocations: 31.8 kB / 0.5575 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.126, allocations: 79.67 kB / 0.5576 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1263, allocations: 115.3 kB / 0.5577 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1265, allocations: 59.78 kB / 0.5578 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.1266, allocations: 15.98 kB / 0.5578 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.1266, allocations: 23.92 kB / 0.5578 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.1267, allocations: 23.86 kB / 0.5578 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1267, allocations: 0 / 0.5578 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.1268, allocations: 39.98 kB / 0.5579 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.1268, allocations: 19.86 kB / 0.5579 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.1269, allocations: 23.8 kB / 0.5579 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.127, allocations: 87.59 kB / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.127, allocations: 0 / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.127, allocations: 0 / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.127, allocations: 0 / 0.558 GB, free: 3.195 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005017/0.1275, allocations: 398.9 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1276, allocations: 8.031 kB / 0.5584 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1276, allocations: 34.75 kB / 0.5584 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.1277, allocations: 12.84 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1279, allocations: 204.6 kB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1279, allocations: 4.125 kB / 0.5586 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1279, allocations: 4 kB / 0.5586 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.128, allocations: 45.69 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1281, allocations: 4 kB / 0.5587 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1281, allocations: 4 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1281, allocations: 0 / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1282, allocations: 23.97 kB / 0.5587 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1286, allocations: 280.9 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1288, allocations: 50.5 kB / 0.559 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.1288, allocations: 20.94 kB / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1289, allocations: 0 / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1289, allocations: 34.56 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1289, allocations: 3.938 kB / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005995/0.1295, allocations: 153.4 kB / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1295, allocations: 51.41 kB / 0.5593 GB, free: 1.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1297, allocations: 185.5 kB / 0.5594 GB, free: 1.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1297, allocations: 25.7 kB / 0.5595 GB, free: 1.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.1298, allocations: 100.1 kB / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.1298, allocations: 15.91 kB / 0.5596 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1298, allocations: 17.72 kB / 0.5596 GB, free: 1.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.13, allocations: 322.8 kB / 0.5599 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.1301, allocations: 19.98 kB / 0.5599 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.1301, allocations: 31.91 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1303, allocations: 53.02 kB / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1303, allocations: 0 / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002078/0.1305, allocations: 89.56 kB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1305, allocations: 5.875 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1305, allocations: 0 / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1305, allocations: 4 kB / 0.5601 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.1306, allocations: 12 kB / 0.5601 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1306, allocations: 7.922 kB / 0.5601 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.1307, allocations: 8 kB / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1307, allocations: 0 / 0.5601 GB, free: 0.7695 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001012/0.1308, allocations: 128 kB / 0.5603 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.1308, allocations: 11.89 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1311, allocations: 97.97 kB / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1311, allocations: 0 / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1311, allocations: 3.938 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1311, allocations: 288 / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.1315, allocations: 362.5 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1315, allocations: 0 / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.1316, allocations: 12 kB / 0.5607 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.1316, allocations: 7.922 kB / 0.5607 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1316, allocations: 7.984 kB / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1316, allocations: 4 kB / 0.5607 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1316, allocations: 192 / 0.5607 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1319, allocations: 187.4 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.132, allocations: 89.02 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.132, allocations: 3.938 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.132, allocations: 4 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1321, allocations: 11.98 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1321, allocations: 4 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1322, allocations: 127.2 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1322, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1324, allocations: 23.88 kB / 0.5612 GB, free: 15.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001948/0.1344, allocations: 1.011 MB / 0.5622 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1346, allocations: 55.89 kB / 0.5622 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1346, allocations: 0 / 0.5622 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.1347, allocations: 23.98 kB / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.135, allocations: 23.97 kB / 0.5623 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1368, allocations: 1.527 MB / 0.5637 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1371, allocations: 0.6983 MB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.1372, allocations: 12 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.1372, allocations: 27.42 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1372, allocations: 4 kB / 0.5645 GB, free: 12.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.1618, allocations: 2.699 MB / 0.5671 GB, free: 9.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.173, allocations: 12 kB / 0.5671 GB, free: 9.586 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.36295553499076]