Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001376/0.001376, allocations: 111.9 kB / 20.43 MB, free: 1.473 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.001743/0.001743, allocations: 212 kB / 23.74 MB, free: 4.688 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.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2335/0.2335, allocations: 44.91 MB / 358.8 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 78.08 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3706, allocations: 65.47 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003178/0.3738, allocations: 1.7 MB / 0.5587 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3749, allocations: 0.5933 MB / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.375, allocations: 3.938 kB / 0.5593 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3753, allocations: 47.81 kB / 0.5593 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.3756, allocations: 91.59 kB / 0.5594 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.376, allocations: 187.2 kB / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3762, allocations: 91.75 kB / 0.5597 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3763, allocations: 14.05 kB / 0.5597 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.3764, allocations: 43.78 kB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3765, allocations: 47.77 kB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3765, allocations: 4 kB / 0.5598 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3766, allocations: 51.97 kB / 0.5598 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.3767, allocations: 27.92 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.3767, allocations: 35.73 kB / 0.5599 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.377, allocations: 119.4 kB / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.377, allocations: 0 / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.377, allocations: 0 / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.377, allocations: 4 kB / 0.56 GB, free: 4.734 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006297/0.3776, allocations: 349.5 kB / 0.5604 GB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3776, allocations: 8.031 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.3777, allocations: 42.75 kB / 0.5604 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3777, allocations: 12.84 kB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.378, allocations: 146.3 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.378, allocations: 4.375 kB / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.378, allocations: 4.375 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3782, allocations: 73.53 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3782, allocations: 3.984 kB / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3782, allocations: 0 / 0.5606 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3782, allocations: 8 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3784, allocations: 43.97 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.379, allocations: 295.8 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.3792, allocations: 54.55 kB / 0.561 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/0.3793, allocations: 32.95 kB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3793, allocations: 0 / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3793, allocations: 34.56 kB / 0.5611 GB, free: 3.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3793, allocations: 0 / 0.5611 GB, free: 3.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001516/0.3809, allocations: 436.9 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3809, allocations: 51.41 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.3811, allocations: 182.2 kB / 0.5617 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3811, allocations: 25.7 kB / 0.5618 GB, free: 2.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.3812, allocations: 104.1 kB / 0.5619 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3813, allocations: 43.58 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.3813, allocations: 21.72 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3815, allocations: 326.8 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3816, allocations: 59.89 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3818, allocations: 55.95 kB / 0.5623 GB, free: 2.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3821, allocations: 124.7 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3821, allocations: 4 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003719/0.3824, allocations: 165.5 kB / 0.5626 GB, free: 1.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3825, allocations: 8 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3825, allocations: 0 / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.3825, allocations: 3.938 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3826, allocations: 23.98 kB / 0.5627 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3826, allocations: 0 / 0.5627 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.3827, allocations: 16.55 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3827, allocations: 8 kB / 0.5627 GB, free: 1.82 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001121/0.3828, allocations: 125.8 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.3828, allocations: 11.91 kB / 0.5628 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.3833, allocations: 194.2 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3833, allocations: 7.938 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3833, allocations: 0 / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3833, allocations: 4 kB / 0.563 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.3841, allocations: 479 kB / 0.5635 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3841, allocations: 0 / 0.5635 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3842, allocations: 31.97 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3842, allocations: 4.062 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3842, allocations: 4 kB / 0.5635 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3842, allocations: 4 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3842, allocations: 0 / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.3846, allocations: 277.5 kB / 0.5638 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.3847, allocations: 11.91 kB / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.3847, allocations: 7.984 kB / 0.5638 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.3848, allocations: 8 kB / 0.5638 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.3848, allocations: 7.984 kB / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3849, allocations: 11.98 kB / 0.5638 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.385, allocations: 140.1 kB / 0.5639 GB, free: 432 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.385, allocations: 0 / 0.5639 GB, free: 432 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.3853, allocations: 35.92 kB / 0.564 GB, free: 396 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002466/0.3878, allocations: 1.164 MB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.3881, allocations: 127.8 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3881, allocations: 0 / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.3883, allocations: 59.91 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.3887, allocations: 28.86 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.3913, allocations: 1.902 MB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.3917, allocations: 0.7197 MB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3918, allocations: 28.47 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.3919, allocations: 39.42 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3919, allocations: 0 / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.4253, allocations: 3.654 MB / 0.5715 GB, free: 8.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.52, allocations: 7.938 kB / 0.5715 GB, free: 8.762 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.616534176981077]