Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001318/0.001318, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001444/0.001444, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.241/0.241, allocations: 44.94 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 179] 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="cs",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.002076/0.002076, allocations: 63.84 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3589, allocations: 65.47 MB / 0.5577 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003595/0.3625, allocations: 1.68 MB / 0.5594 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3637, allocations: 0.5505 MB / 0.5599 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.3637, allocations: 0 / 0.5599 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3639, allocations: 63.72 kB / 0.56 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3642, allocations: 103.6 kB / 0.5601 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.3647, allocations: 179.1 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3649, allocations: 95.73 kB / 0.5603 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.365, allocations: 14.05 kB / 0.5604 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.365, allocations: 43.8 kB / 0.5604 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3652, allocations: 55.8 kB / 0.5605 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3652, allocations: 4 kB / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3653, allocations: 47.98 kB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.3654, allocations: 27.91 kB / 0.5605 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.3654, allocations: 31.75 kB / 0.5606 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.3657, allocations: 123.4 kB / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3657, allocations: 0 / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3657, allocations: 0 / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3657, allocations: 4 kB / 0.5607 GB, free: 4.512 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.0006037/0.3663, allocations: 353.5 kB / 0.561 GB, free: 4.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3663, allocations: 16.02 kB / 0.561 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.363e-05/0.3663, allocations: 192 / 0.561 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.3664, allocations: 38.75 kB / 0.5611 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.3664, allocations: 12.89 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3666, allocations: 150.9 kB / 0.5612 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3666, allocations: 8.375 kB / 0.5612 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.3667, allocations: 12.06 kB / 0.5612 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3668, allocations: 61.66 kB / 0.5613 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3669, allocations: 4 kB / 0.5613 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3669, allocations: 4 kB / 0.5613 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3669, allocations: 0 / 0.5613 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.367, allocations: 39.97 kB / 0.5614 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.3675, allocations: 295.8 kB / 0.5616 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.3677, allocations: 54.55 kB / 0.5617 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.3678, allocations: 24.97 kB / 0.5617 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3678, allocations: 4 kB / 0.5617 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3678, allocations: 42.58 kB / 0.5618 GB, free: 3.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.3678, allocations: 0 / 0.5618 GB, free: 3.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001507/0.3693, allocations: 420.9 kB / 0.5622 GB, free: 2.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.3694, allocations: 55.34 kB / 0.5622 GB, free: 2.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3696, allocations: 206.2 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3696, allocations: 33.7 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.3697, allocations: 108.1 kB / 0.5625 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.3697, allocations: 31.7 kB / 0.5626 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.3698, allocations: 29.7 kB / 0.5626 GB, free: 2.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3699, allocations: 326.8 kB / 0.5629 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3701, allocations: 51.95 kB / 0.563 GB, free: 1.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3702, allocations: 51.97 kB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.3705, allocations: 128.7 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3705, allocations: 0 / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003496/0.3708, allocations: 170.3 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3709, allocations: 6.188 kB / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3709, allocations: 0 / 0.5633 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3709, allocations: 3.938 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.371, allocations: 35.97 kB / 0.5633 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.371, allocations: 4 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.3711, allocations: 11.98 kB / 0.5634 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3711, allocations: 4 kB / 0.5634 GB, free: 1.578 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.0001123/0.3712, allocations: 137.7 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.3713, allocations: 15.89 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.3717, allocations: 206.9 kB / 0.5637 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3717, allocations: 0 / 0.5637 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3717, allocations: 0 / 0.5637 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3717, allocations: 3.984 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.3725, allocations: 467.1 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3725, allocations: 0 / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3726, allocations: 31.98 kB / 0.5642 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3726, allocations: 4 kB / 0.5642 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3726, allocations: 4 kB / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3726, allocations: 0 / 0.5642 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3726, allocations: 4 kB / 0.5642 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.373, allocations: 269 kB / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.373, allocations: 15.89 kB / 0.5645 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3731, allocations: 7.938 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3732, allocations: 16.08 kB / 0.5645 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.3732, allocations: 15.86 kB / 0.5645 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.3732, allocations: 4 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3734, allocations: 160.2 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3734, allocations: 0 / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3736, allocations: 20 kB / 0.5647 GB, free: 124 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.002464/0.3761, allocations: 1.199 MB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.3765, allocations: 123.9 kB / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3765, allocations: 0 / 0.566 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3766, allocations: 67.89 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.377, allocations: 19.97 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.3796, allocations: 1.939 MB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.3797, allocations: 104.8 kB / 0.568 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3798, allocations: 36.47 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.3799, allocations: 43.36 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3799, allocations: 0 / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.4049, allocations: 3.813 MB / 0.5718 GB, free: 8.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 9.547 kB / 0.5719 GB, free: 8.914 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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: 15.062341757002287]