Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001339/0.001339, 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.001459/0.001459, allocations: 212.1 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2257/0.2257, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.002155/0.002155, allocations: 69.62 kB / 0.4931 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003435/0.3357, allocations: 1.676 MB / 0.5586 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3368, allocations: 0.5544 MB / 0.5592 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.3369, allocations: 3.938 kB / 0.5592 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.3371, allocations: 43.8 kB / 0.5592 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.3374, allocations: 91.61 kB / 0.5593 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.3379, allocations: 183.4 kB / 0.5595 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3381, allocations: 87.77 kB / 0.5596 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3382, allocations: 18.05 kB / 0.5596 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.3383, allocations: 43.78 kB / 0.5596 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3384, allocations: 47.75 kB / 0.5597 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3384, allocations: 4 kB / 0.5597 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3385, allocations: 51.98 kB / 0.5597 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.3386, allocations: 27.86 kB / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.3386, allocations: 27.8 kB / 0.5598 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3389, allocations: 119.5 kB / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3389, allocations: 0 / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3389, allocations: 0 / 0.5599 GB, free: 4.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3389, allocations: 0 / 0.5599 GB, free: 4.598 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.0005522/0.3394, allocations: 349.6 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3395, allocations: 8.031 kB / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.3395, allocations: 34.75 kB / 0.5603 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.3396, allocations: 24.83 kB / 0.5603 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.3398, allocations: 138.3 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3398, allocations: 8.375 kB / 0.5604 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3398, allocations: 4.375 kB / 0.5604 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.34, allocations: 73.53 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.34, allocations: 0 / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.34, allocations: 4 kB / 0.5605 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.34, allocations: 4 kB / 0.5605 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3402, allocations: 43.95 kB / 0.5605 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.3407, allocations: 295.8 kB / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.3409, allocations: 54.55 kB / 0.5609 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.341, allocations: 24.97 kB / 0.5609 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.341, allocations: 0 / 0.5609 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.341, allocations: 34.56 kB / 0.5609 GB, free: 3.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.341, allocations: 0 / 0.5609 GB, free: 3.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001544/0.3426, allocations: 432.9 kB / 0.5614 GB, free: 2.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3426, allocations: 51.41 kB / 0.5614 GB, free: 2.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3428, allocations: 182.2 kB / 0.5616 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3428, allocations: 29.69 kB / 0.5616 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.3429, allocations: 100.1 kB / 0.5617 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.343, allocations: 43.58 kB / 0.5617 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.343, allocations: 25.7 kB / 0.5618 GB, free: 2.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3432, allocations: 334.8 kB / 0.5621 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3433, allocations: 55.91 kB / 0.5621 GB, free: 2.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3435, allocations: 51.95 kB / 0.5622 GB, free: 2.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.3438, allocations: 124.8 kB / 0.5623 GB, free: 1.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3438, allocations: 0 / 0.5623 GB, free: 1.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003887/0.3442, allocations: 173.4 kB / 0.5625 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3442, allocations: 4 kB / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.3442, allocations: 0 / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.3443, allocations: 4.5 kB / 0.5625 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3444, allocations: 23.98 kB / 0.5625 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3444, allocations: 3.984 kB / 0.5625 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.3445, allocations: 12 kB / 0.5625 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3445, allocations: 12 kB / 0.5625 GB, free: 1.691 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.0001356/0.3446, allocations: 129.8 kB / 0.5627 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.3447, allocations: 15.91 kB / 0.5627 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.3451, allocations: 186.3 kB / 0.5628 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3452, allocations: 3.938 kB / 0.5628 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3452, allocations: 0 / 0.5628 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3452, allocations: 0 / 0.5628 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008074/0.346, allocations: 479 kB / 0.5633 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.346, allocations: 3.984 kB / 0.5633 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3461, allocations: 31.97 kB / 0.5633 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3461, allocations: 0 / 0.5633 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3461, allocations: 4 kB / 0.5633 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3461, allocations: 0 / 0.5633 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3461, allocations: 8 kB / 0.5634 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.3465, allocations: 269.1 kB / 0.5636 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.3466, allocations: 11.91 kB / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3466, allocations: 4 kB / 0.5636 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3467, allocations: 11.98 kB / 0.5636 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.3467, allocations: 11.98 kB / 0.5636 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3467, allocations: 4 kB / 0.5636 GB, free: 456 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3469, allocations: 148 kB / 0.5638 GB, free: 308 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3469, allocations: 0 / 0.5638 GB, free: 308 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.3472, allocations: 31.88 kB / 0.5638 GB, free: 276 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.002498/0.3497, allocations: 1.196 MB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.35, allocations: 119.9 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.35, allocations: 0 / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3502, allocations: 68.02 kB / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3505, allocations: 22.55 kB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.3531, allocations: 1.91 MB / 0.5671 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3532, allocations: 100.7 kB / 0.5672 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3533, allocations: 36.45 kB / 0.5672 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.3534, allocations: 47.34 kB / 0.5672 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3534, allocations: 0 / 0.5672 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.3839, allocations: 4.017 MB / 0.5712 GB, free: 8.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 7.344 kB / 0.5712 GB, free: 8.883 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.577282106969506]