Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.00182/0.00182, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002369/0.002369, allocations: 210.7 kB / 23.74 MB, free: 4.66 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2254/0.2254, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.91 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 66.05 MB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003322/0.359, allocations: 1.664 MB / 0.5623 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3601, allocations: 0.5698 MB / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.3602, allocations: 0 / 0.5629 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.3608, allocations: 451.1 kB / 0.5633 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.3613, allocations: 299.3 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.3616, allocations: 127.6 kB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.3619, allocations: 171.6 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.362, allocations: 13.81 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3621, allocations: 115.7 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.3624, allocations: 251.5 kB / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3624, allocations: 0 / 0.5642 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.3625, allocations: 39.94 kB / 0.5643 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3626, allocations: 87.61 kB / 0.5643 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.3627, allocations: 103 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3631, allocations: 266.6 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3631, allocations: 0 / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3631, allocations: 4 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3631, allocations: 0 / 0.5647 GB, free: 348 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.0008008/0.3639, allocations: 0.5815 MB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.364, allocations: 12.03 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.364, allocations: 34.73 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.364, allocations: 48.61 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3644, allocations: 254.7 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.3644, allocations: 384 / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3644, allocations: 384 / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3645, allocations: 57.62 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3645, allocations: 0 / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.3645, allocations: 4 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3645, allocations: 0 / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.3646, allocations: 27.97 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.3651, allocations: 363.7 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.3653, allocations: 42.56 kB / 0.5661 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.3654, allocations: 16.94 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3654, allocations: 0 / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3654, allocations: 38.56 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.3654, allocations: 0 / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006273/0.3661, allocations: 228.7 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3661, allocations: 55.41 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.367, allocations: 0.8815 MB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3671, allocations: 29.64 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3673, allocations: 220.1 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3673, allocations: 19.91 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3673, allocations: 21.7 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3675, allocations: 362.7 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.3676, allocations: 19.98 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.3677, allocations: 23.98 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.3678, allocations: 44.83 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3678, allocations: 0 / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002148/0.368, allocations: 125.9 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.368, allocations: 10.66 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.368, allocations: 0 / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.368, allocations: 0 / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.3681, allocations: 15.94 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3681, allocations: 3.938 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.3682, allocations: 11.92 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3682, allocations: 7.984 kB / 0.5681 GB, free: 12.62 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.0002001/0.3684, allocations: 213.8 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.3684, allocations: 39.72 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.3687, allocations: 133.3 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3687, allocations: 0 / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3687, allocations: 0 / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3687, allocations: 3.938 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.3693, allocations: 437.5 kB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3693, allocations: 0 / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.3693, allocations: 11.98 kB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3693, allocations: 0 / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3694, allocations: 11.94 kB / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3694, allocations: 0 / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3694, allocations: 0 / 0.5689 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.3696, allocations: 219.1 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.3697, allocations: 39.72 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3697, allocations: 3.938 kB / 0.5692 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3699, allocations: 12.17 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.3699, allocations: 0 / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3699, allocations: 7.938 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000671/0.3706, allocations: 0.6628 MB / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3706, allocations: 0 / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.3709, allocations: 23.94 kB / 0.5699 GB, free: 10.74 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.002128/0.373, allocations: 1.048 MB / 0.5709 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3732, allocations: 39.97 kB / 0.5709 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3732, allocations: 0 / 0.5709 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.3733, allocations: 24.11 kB / 0.571 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.3737, allocations: 31.08 kB / 0.571 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.3775, allocations: 3.256 MB / 0.5742 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.378, allocations: 0.826 MB / 0.575 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.3781, allocations: 11.98 kB / 0.575 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.3782, allocations: 103.4 kB / 0.5751 GB, free: 5.422 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.3782, allocations: 4 kB / 0.5751 GB, free: 5.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.4145, allocations: 6.22 MB / 0.5812 GB, free: 15.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.96, allocations: 0 / 0.5812 GB, free: 15.27 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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: 14.914678644854575]