Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001359/0.001359, 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.001465/0.001465, allocations: 208.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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.241/0.241, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 71.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3286, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003758/0.3324, allocations: 1.604 MB / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3336, allocations: 0.5465 MB / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.3337, allocations: 0 / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.3339, allocations: 27.78 kB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3343, allocations: 75.69 kB / 0.5628 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.3347, allocations: 123.2 kB / 0.5629 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3349, allocations: 75.77 kB / 0.563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.335, allocations: 13.81 kB / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.335, allocations: 23.92 kB / 0.563 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.3351, allocations: 31.78 kB / 0.5631 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3351, allocations: 4 kB / 0.5631 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.3353, allocations: 87.95 kB / 0.5631 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.3354, allocations: 19.91 kB / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.3354, allocations: 27.86 kB / 0.5632 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.3357, allocations: 147.4 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3357, allocations: 0 / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3357, allocations: 0 / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3357, allocations: 0 / 0.5633 GB, free: 1.438 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005383/0.3363, allocations: 333.7 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3363, allocations: 12.03 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.3364, allocations: 30.75 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3364, allocations: 8.891 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3366, allocations: 134.4 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3366, allocations: 8.312 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3366, allocations: 4.375 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3368, allocations: 97.03 kB / 0.5639 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3368, allocations: 3.938 kB / 0.5639 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3368, allocations: 0 / 0.5639 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3368, allocations: 3.938 kB / 0.5639 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.3369, allocations: 23.97 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.3375, allocations: 263.9 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3376, allocations: 46.56 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.3377, allocations: 28.94 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3377, allocations: 0 / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3377, allocations: 30.56 kB / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3377, allocations: 0 / 0.5643 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006702/0.3384, allocations: 189.3 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.3385, allocations: 77.11 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3387, allocations: 156.5 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3387, allocations: 37.7 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3388, allocations: 84.14 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3388, allocations: 31.72 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.3389, allocations: 25.72 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.339, allocations: 326.8 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.3391, allocations: 27.98 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3392, allocations: 71.39 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3394, allocations: 68.81 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3394, allocations: 4.031 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000241/0.3396, allocations: 105.6 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.3397, allocations: 8 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3397, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3397, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3398, allocations: 19.92 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3398, allocations: 4 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.3399, allocations: 11.92 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3399, allocations: 12 kB / 0.5655 GB, free: 14.97 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 (8): * Single equations (assignments): 8 * 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 9.416e-05/0.34, allocations: 113.8 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.34, allocations: 7.953 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.3403, allocations: 122.6 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3403, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3403, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3403, allocations: 3.938 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.3409, allocations: 361.5 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3409, allocations: 0 / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.3409, allocations: 15.98 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.3409, allocations: 3.938 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3409, allocations: 4 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3409, allocations: 0 / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3409, allocations: 0 / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3412, allocations: 195.5 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.3412, allocations: 15.89 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.3413, allocations: 7.938 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.3413, allocations: 7.984 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.3414, allocations: 0 / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3414, allocations: 4 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3415, allocations: 119.2 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3415, allocations: 0 / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.3418, allocations: 43.86 kB / 0.5665 GB, free: 13.88 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 (7): * Single equations (assignments): 7 * 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.002366/0.3442, allocations: 1.167 MB / 0.5676 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3444, allocations: 71.89 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3444, allocations: 0 / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.3445, allocations: 31.97 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3449, allocations: 16.86 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3468, allocations: 1.537 MB / 0.5693 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.3468, allocations: 79.33 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.3469, allocations: 33.08 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.347, allocations: 27.42 kB / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.347, allocations: 0 / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.378, allocations: 4.12 MB / 0.5734 GB, free: 6.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.35, allocations: 0 / 0.5734 GB, free: 6.922 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.40310440864414]