Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001842/0.001842, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002284/0.002284, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2299/0.2299, allocations: 44.91 MB / 359.6 MB, free: 6.27 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.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.002093/0.002093, allocations: 55.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3412, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003637/0.3449, allocations: 1.674 MB / 0.5594 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3461, allocations: 0.7672 MB / 0.5602 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.3462, allocations: 0 / 0.5602 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.3465, allocations: 27.91 kB / 0.5602 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.3467, allocations: 40.8 kB / 0.5602 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.22e-06/0.3467, allocations: 4 kB / 0.5603 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.3469, allocations: 31.84 kB / 0.5603 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.3469, allocations: 9.953 kB / 0.5603 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.653e-05/0.347, allocations: 7.938 kB / 0.5603 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/0.347, allocations: 19.92 kB / 0.5603 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.347, allocations: 3.984 kB / 0.5603 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.3471, allocations: 12 kB / 0.5603 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.3472, allocations: 15.92 kB / 0.5603 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.3472, allocations: 23.81 kB / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.3474, allocations: 79.55 kB / 0.5604 GB, free: 5.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3474, allocations: 0 / 0.5604 GB, free: 5.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3474, allocations: 0 / 0.5604 GB, free: 5.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3474, allocations: 0 / 0.5604 GB, free: 5.051 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003589/0.3477, allocations: 282 kB / 0.5607 GB, free: 4.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3478, allocations: 16.03 kB / 0.5607 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.3478, allocations: 192 / 0.5607 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.3478, allocations: 42.73 kB / 0.5608 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.3479, allocations: 8.891 kB / 0.5608 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.348, allocations: 118.4 kB / 0.5609 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.348, allocations: 12.36 kB / 0.5609 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.348, allocations: 384 / 0.5609 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3482, allocations: 129.4 kB / 0.561 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3482, allocations: 7.938 kB / 0.561 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3482, allocations: 0 / 0.561 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.3483, allocations: 19.98 kB / 0.5611 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.3484, allocations: 39.91 kB / 0.5611 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.3491, allocations: 0.8625 MB / 0.5619 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.94e-05/0.3492, allocations: 173.1 kB / 0.5621 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.3492, allocations: 84.14 kB / 0.5622 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.3492, allocations: 75.38 kB / 0.5623 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.3493, allocations: 109.8 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3493, allocations: 0 / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.316e-05/0.3494, allocations: 41.55 kB / 0.5624 GB, free: 2.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.3495, allocations: 130.7 kB / 0.5625 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3496, allocations: 186.1 kB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3497, allocations: 25.7 kB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3498, allocations: 151.5 kB / 0.5629 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-06/0.3498, allocations: 8 kB / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.3498, allocations: 45.66 kB / 0.5629 GB, free: 2.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.35, allocations: 314.8 kB / 0.5632 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.35, allocations: 31.98 kB / 0.5632 GB, free: 1.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3502, allocations: 165.1 kB / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.3504, allocations: 204.9 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3504, allocations: 0 / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003315/0.3507, allocations: 205.1 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3508, allocations: 8 kB / 0.5638 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3508, allocations: 4 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3508, allocations: 4 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3509, allocations: 43.92 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3509, allocations: 8.469 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.351, allocations: 19.83 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.351, allocations: 20 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001446/0.3512, allocations: 216.9 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.3513, allocations: 108.9 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.257e-05/0.3513, allocations: 116.6 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.711e-05/0.3514, allocations: 188.2 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.137e-05/0.3515, allocations: 184.4 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-05/0.3516, allocations: 184.2 kB / 0.5649 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3519, allocations: 396.2 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/0.3519, allocations: 101 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.352, allocations: 108.9 kB / 0.5654 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.788e-05/0.3521, allocations: 184.3 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/0.3522, allocations: 192.2 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.524e-05/0.3522, allocations: 176.3 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.023e-05/0.3523, allocations: 176.3 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3525, allocations: 323.6 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.3526, allocations: 116.9 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.3527, allocations: 176.3 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.3528, allocations: 101 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.3529, allocations: 188.2 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.353, allocations: 101 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3531, allocations: 128.1 kB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3531, allocations: 4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.3534, allocations: 12 kB / 0.5672 GB, free: 13.54 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 (0): * Single equations (assignments): 0 * 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.001129/0.3545, allocations: 0.9163 MB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.3547, allocations: 76.03 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3547, allocations: 0 / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.3547, allocations: 4 kB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.3552, allocations: 464.6 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3572, allocations: 1.892 MB / 0.5705 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3576, allocations: 0.6967 MB / 0.5712 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.3578, allocations: 49.02 kB / 0.5712 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.3578, allocations: 27.42 kB / 0.5712 GB, free: 9.223 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3578, allocations: 0 / 0.5712 GB, free: 9.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.381, allocations: 2.399 MB / 0.5736 GB, free: 6.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 6.812 kB / 0.5736 GB, free: 6.895 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.872358562017325]