Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001408/0.001408, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001644/0.001644, allocations: 212.7 kB / 23.73 MB, free: 4.387 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.525/1.525, 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.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.2269/0.2269, allocations: 44.93 MB / 358.8 MB, free: 6.059 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.002126/0.002126, allocations: 79.88 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3366, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003728/0.3403, allocations: 1.97 MB / 0.5589 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3423, allocations: 0.9945 MB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3425, allocations: 7.938 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.343, allocations: 251.2 kB / 0.5601 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006161/0.3436, allocations: 267 kB / 0.5604 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3448, allocations: 497.4 kB / 0.5608 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.3453, allocations: 334.9 kB / 0.5612 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.3455, allocations: 50.72 kB / 0.5612 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.3456, allocations: 143.4 kB / 0.5614 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.3459, allocations: 227.1 kB / 0.5616 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.3459, allocations: 8 kB / 0.5616 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.3461, allocations: 79.95 kB / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3463, allocations: 95.61 kB / 0.5617 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3464, allocations: 91.17 kB / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.3468, allocations: 350.2 kB / 0.5622 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3468, allocations: 0 / 0.5622 GB, free: 2.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3468, allocations: 0 / 0.5622 GB, free: 2.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3468, allocations: 4 kB / 0.5622 GB, free: 2.203 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009334/0.3478, allocations: 0.6165 MB / 0.5628 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3478, allocations: 12.03 kB / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.505e-05/0.3479, allocations: 42.73 kB / 0.5628 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.348, allocations: 52.61 kB / 0.5629 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.3484, allocations: 268.6 kB / 0.5631 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3484, allocations: 8.375 kB / 0.5631 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.3485, allocations: 8.375 kB / 0.5631 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3487, allocations: 117.5 kB / 0.5633 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3488, allocations: 0 / 0.5633 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3488, allocations: 8 kB / 0.5633 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.3488, allocations: 4 kB / 0.5633 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.349, allocations: 67.95 kB / 0.5633 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007874/0.3498, allocations: 459.5 kB / 0.5638 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.35, allocations: 86.48 kB / 0.5639 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/0.3501, allocations: 32.84 kB / 0.5639 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3501, allocations: 4 kB / 0.5639 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3502, allocations: 34.5 kB / 0.5639 GB, free: 276 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3502, allocations: 4 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001035/0.3512, allocations: 404.6 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3513, allocations: 51.41 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.352, allocations: 0.5877 MB / 0.5649 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.352, allocations: 33.69 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3522, allocations: 216.3 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.3523, allocations: 59.48 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.3524, allocations: 37.7 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3526, allocations: 354.8 kB / 0.5656 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3527, allocations: 47.98 kB / 0.5657 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3528, allocations: 51.97 kB / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.3531, allocations: 123.4 kB / 0.5658 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3531, allocations: 4 kB / 0.5658 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003707/0.3534, allocations: 201.2 kB / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3535, allocations: 8 kB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3535, allocations: 0 / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3535, allocations: 4 kB / 0.566 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3536, allocations: 31.97 kB / 0.5661 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3536, allocations: 4 kB / 0.5661 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.3537, allocations: 8 kB / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3537, allocations: 7.984 kB / 0.5661 GB, free: 14 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 (17): * Single equations (assignments): 17 * 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.0001982/0.3539, allocations: 181.7 kB / 0.5662 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.354, allocations: 43.66 kB / 0.5663 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.3545, allocations: 251.9 kB / 0.5665 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3545, allocations: 0 / 0.5665 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3545, allocations: 0 / 0.5665 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3545, allocations: 0 / 0.5665 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.3554, allocations: 0.587 MB / 0.5671 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3554, allocations: 0 / 0.5671 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.3556, allocations: 35.92 kB / 0.5671 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3556, allocations: 4 kB / 0.5671 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3556, allocations: 8 kB / 0.5671 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3556, allocations: 3.938 kB / 0.5672 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3556, allocations: 0 / 0.5672 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.356, allocations: 297.7 kB / 0.5674 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/0.3561, allocations: 47.7 kB / 0.5675 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3561, allocations: 0 / 0.5675 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3562, allocations: 15.92 kB / 0.5675 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.3563, allocations: 7.984 kB / 0.5675 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3563, allocations: 12 kB / 0.5675 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005379/0.3568, allocations: 447 kB / 0.5679 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3568, allocations: 0 / 0.5679 GB, free: 12.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003397/0.3572, allocations: 47.94 kB / 0.568 GB, free: 11.96 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 (17): * Single equations (assignments): 17 * 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.003737/0.3609, allocations: 1.49 MB / 0.5694 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.3613, allocations: 139.8 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3613, allocations: 0 / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3614, allocations: 71.89 kB / 0.5696 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/0.3621, allocations: 81.73 kB / 0.5697 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.3664, allocations: 3.159 MB / 0.5728 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.3666, allocations: 208.2 kB / 0.573 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.3668, allocations: 54.23 kB / 0.5731 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.367, allocations: 135.4 kB / 0.5732 GB, free: 6.891 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.367, allocations: 0 / 0.5732 GB, free: 6.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.4023, allocations: 8.335 MB / 0.5813 GB, free: 14.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.84, allocations: 0 / 0.5813 GB, free: 14.57 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.98130772775039]