Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001704/0.001704, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.001878/0.001878, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.235/0.235, allocations: 46.95 MB / 360.9 MB, free: 4.062 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 79.83 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.359, allocations: 66.04 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00306/0.362, allocations: 1.648 MB / 0.5622 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3631, allocations: 0.5505 MB / 0.5628 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.3632, allocations: 4 kB / 0.5628 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.3639, allocations: 463.1 kB / 0.5632 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005682/0.3644, allocations: 291.3 kB / 0.5635 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.365, allocations: 179.2 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.3653, allocations: 175.6 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3654, allocations: 17.8 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3656, allocations: 107.7 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.3659, allocations: 255.5 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3659, allocations: 4 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.366, allocations: 31.98 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3661, allocations: 87.62 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.3662, allocations: 67.25 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3666, allocations: 274.6 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3666, allocations: 0 / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3666, allocations: 0 / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3666, allocations: 0 / 0.5646 GB, free: 148 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.0009247/0.3676, allocations: 0.5893 MB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3676, allocations: 12.03 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.3677, allocations: 42.73 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.3677, allocations: 40.66 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.3681, allocations: 254.7 kB / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3681, allocations: 384 / 0.5655 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.3681, allocations: 12.31 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3683, allocations: 61.59 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3683, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3683, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3683, allocations: 4 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3684, allocations: 27.98 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.369, allocations: 371.7 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3692, allocations: 46.55 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.3693, allocations: 12.86 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3693, allocations: 4 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3693, allocations: 30.66 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3693, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006602/0.37, allocations: 244.7 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.37, allocations: 59.39 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009987/0.371, allocations: 0.8776 MB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3711, allocations: 29.64 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3713, allocations: 224.1 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.3713, allocations: 19.78 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.3713, allocations: 17.72 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3716, allocations: 366.8 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.3716, allocations: 19.98 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.3717, allocations: 23.98 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3719, allocations: 57.02 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3719, allocations: 0 / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002354/0.3721, allocations: 121.4 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3721, allocations: 8 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3721, allocations: 3.984 kB / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3722, allocations: 288 / 0.5681 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.3722, allocations: 19.92 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3722, allocations: 0 / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.3723, allocations: 7.938 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3723, allocations: 4 kB / 0.5681 GB, free: 12.38 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.0002134/0.3725, allocations: 217.7 kB / 0.5683 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.3726, allocations: 51.66 kB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.3729, allocations: 137.2 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3729, allocations: 4 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3729, allocations: 4 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3729, allocations: 3.938 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.3736, allocations: 441.6 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3736, allocations: 0 / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.3736, allocations: 11.98 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3736, allocations: 0 / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3736, allocations: 7.875 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3736, allocations: 4.188 kB / 0.569 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3736, allocations: 4 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3739, allocations: 227.2 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.374, allocations: 35.7 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.374, allocations: 7.938 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.3741, allocations: 4 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.3741, allocations: 7.984 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3741, allocations: 0 / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006481/0.3748, allocations: 0.6628 MB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3748, allocations: 0 / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3751, allocations: 27.89 kB / 0.5699 GB, free: 10.45 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.002098/0.3772, allocations: 1.093 MB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3774, allocations: 47.97 kB / 0.571 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3774, allocations: 0 / 0.571 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.3775, allocations: 27.97 kB / 0.571 GB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.3779, allocations: 35.81 kB / 0.5711 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.382, allocations: 3.272 MB / 0.5743 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3822, allocations: 228.1 kB / 0.5745 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.566e-05/0.3823, allocations: 20.64 kB / 0.5745 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3825, allocations: 115.4 kB / 0.5746 GB, free: 5.668 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3825, allocations: 0 / 0.5746 GB, free: 5.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.4182, allocations: 6.664 MB / 0.5811 GB, free: 15.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.28, allocations: 3.125 kB / 0.5811 GB, free: 15.05 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.33570264201262]