Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.00136/0.00136, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001427/0.001427, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2299/0.2299, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.404, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003773/0.4078, allocations: 1.649 MB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.4089, allocations: 0.5544 MB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.409, allocations: 4 kB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006362/0.4096, allocations: 459.1 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.4102, allocations: 291.3 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.4107, allocations: 171.3 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.411, allocations: 183.6 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4111, allocations: 9.828 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.4112, allocations: 119.6 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.4115, allocations: 247.5 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.4115, allocations: 4 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4116, allocations: 39.92 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.4118, allocations: 87.67 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.4119, allocations: 71.25 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.4122, allocations: 274.5 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4122, allocations: 0 / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4122, allocations: 0 / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4122, allocations: 0 / 0.5646 GB, free: 84 kB / 398.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.0008382/0.4131, allocations: 0.5875 MB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4131, allocations: 16.03 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.4132, allocations: 30.75 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.4132, allocations: 44.66 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.4136, allocations: 254.7 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-06/0.4136, allocations: 384 / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.4136, allocations: 8.359 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4138, allocations: 57.56 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4138, allocations: 4 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.4138, allocations: 0 / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4138, allocations: 0 / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4139, allocations: 35.97 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.4145, allocations: 363.7 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.4147, allocations: 46.5 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.4148, allocations: 20.94 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4148, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4148, allocations: 30.56 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.4148, allocations: 0 / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006658/0.4155, allocations: 248.7 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.4155, allocations: 51.41 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/0.4165, allocations: 0.8815 MB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.4165, allocations: 25.7 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.4167, allocations: 224.2 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.4167, allocations: 23.78 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.4168, allocations: 25.7 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.417, allocations: 354.8 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.417, allocations: 23.98 kB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.4171, allocations: 27.97 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.4173, allocations: 60.95 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4173, allocations: 0 / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002405/0.4175, allocations: 121.4 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4175, allocations: 4 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4175, allocations: 0 / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.4176, allocations: 4 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.4176, allocations: 16 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4176, allocations: 7.922 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.4177, allocations: 7.938 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4177, allocations: 0 / 0.5681 GB, free: 12.32 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.0002325/0.4179, allocations: 221.6 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.418, allocations: 47.67 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.4183, allocations: 141.2 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4183, allocations: 4.281 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4183, allocations: 0 / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.4183, allocations: 7.922 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.419, allocations: 437.5 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.419, allocations: 0 / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.419, allocations: 11.98 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.419, allocations: 4 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.4191, allocations: 3.938 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4191, allocations: 0 / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4191, allocations: 4.188 kB / 0.5689 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.4194, allocations: 219.2 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4195, allocations: 43.66 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.4195, allocations: 3.938 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.4196, allocations: 7.984 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4196, allocations: 0 / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4197, allocations: 4 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007014/0.4204, allocations: 0.6589 MB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4204, allocations: 0 / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.4206, allocations: 39.88 kB / 0.5699 GB, free: 10.39 MB / 414.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.002172/0.4228, allocations: 1.082 MB / 0.571 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.423, allocations: 59.89 kB / 0.571 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.423, allocations: 0 / 0.571 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.4231, allocations: 23.98 kB / 0.571 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4235, allocations: 37.17 kB / 0.5711 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.4277, allocations: 3.283 MB / 0.5743 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4279, allocations: 220.1 kB / 0.5745 GB, free: 5.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.312e-05/0.428, allocations: 20.66 kB / 0.5745 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4282, allocations: 115.4 kB / 0.5746 GB, free: 5.609 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4282, allocations: 0 / 0.5746 GB, free: 5.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.4642, allocations: 6.665 MB / 0.5811 GB, free: 15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.66, allocations: 13.52 kB / 0.5811 GB, free: 14.99 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.79134132998297]