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.001665/0.001665, 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.002098/0.002098, allocations: 204.9 kB / 23.73 MB, free: 4.379 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2768/0.2768, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.002011/0.002011, allocations: 67.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.356, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003625/0.3597, allocations: 1.649 MB / 0.5622 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3608, allocations: 0.5583 MB / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.3608, allocations: 0 / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.3614, allocations: 467.1 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.3619, allocations: 287.3 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.3623, allocations: 178.6 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.3626, allocations: 175.6 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3628, allocations: 13.83 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3629, allocations: 119.6 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.3632, allocations: 247.5 kB / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.3632, allocations: 0 / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.3633, allocations: 39.98 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3634, allocations: 83.69 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.654e-05/0.3635, allocations: 71.23 kB / 0.5644 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.3639, allocations: 274.5 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3639, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3639, allocations: 8 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3639, allocations: 0 / 0.5646 GB, free: 92 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.0007839/0.3647, allocations: 0.5855 MB / 0.5652 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3647, allocations: 8.031 kB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.3648, allocations: 34.75 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.3648, allocations: 44.66 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.3652, allocations: 246.8 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3652, allocations: 4.375 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3652, allocations: 8.312 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3654, allocations: 61.55 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3654, allocations: 4 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3654, allocations: 4 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3654, allocations: 0 / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3655, allocations: 27.97 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3661, allocations: 367.7 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3663, allocations: 46.5 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.3664, allocations: 16.94 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.3664, allocations: 4 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3664, allocations: 38.56 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3664, allocations: 0 / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006357/0.3671, allocations: 248.6 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3671, allocations: 51.41 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3682, allocations: 0.8737 MB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3682, allocations: 33.7 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.3684, allocations: 224.1 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3684, allocations: 23.8 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3685, allocations: 21.7 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3687, allocations: 358.8 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.3687, allocations: 19.98 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.3688, allocations: 27.97 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.369, allocations: 52.77 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.369, allocations: 192 / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002441/0.3692, allocations: 129.4 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3692, allocations: 7.984 kB / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3692, allocations: 0 / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3692, allocations: 0 / 0.5681 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.3693, allocations: 12 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3693, allocations: 0 / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.3694, allocations: 11.92 kB / 0.5681 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3694, allocations: 0 / 0.5681 GB, free: 12.33 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.0002181/0.3696, allocations: 221.7 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.3697, allocations: 43.67 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.37, allocations: 149.2 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.37, allocations: 3.938 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.37, allocations: 0 / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.37, allocations: 3.938 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.3706, allocations: 441.6 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3706, allocations: 0 / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.3707, allocations: 15.98 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3707, allocations: 4 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3707, allocations: 3.938 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3707, allocations: 0 / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3707, allocations: 0 / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.371, allocations: 219.2 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.371, allocations: 39.91 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3711, allocations: 3.938 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.3712, allocations: 11.98 kB / 0.5692 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3712, allocations: 4 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-06/0.3712, allocations: 8 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007864/0.372, allocations: 0.6589 MB / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.372, allocations: 0 / 0.5699 GB, free: 10.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3722, allocations: 27.89 kB / 0.5699 GB, free: 10.41 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.002192/0.3744, allocations: 1.083 MB / 0.571 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3746, allocations: 55.89 kB / 0.571 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3747, allocations: 4 kB / 0.571 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.3747, allocations: 27.98 kB / 0.571 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3751, allocations: 27.86 kB / 0.5711 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.3795, allocations: 3.275 MB / 0.5743 GB, free: 6.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3797, allocations: 228.2 kB / 0.5745 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.548e-05/0.3798, allocations: 20.59 kB / 0.5745 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.38, allocations: 111.4 kB / 0.5746 GB, free: 5.629 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.38, allocations: 0 / 0.5746 GB, free: 5.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.4155, allocations: 6.673 MB / 0.5811 GB, free: 15.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.23, allocations: 13.7 kB / 0.5811 GB, free: 15 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.392381351994118]