Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001327/0.001327, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001524/0.001524, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 8 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.2253/0.2253, allocations: 44.92 MB / 358.8 MB, free: 6.277 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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.002124/0.002124, allocations: 67.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.00359/0.3426, allocations: 1.637 MB / 0.5586 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3437, allocations: 0.5504 MB / 0.5592 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.3438, allocations: 7.938 kB / 0.5592 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.3441, allocations: 71.77 kB / 0.5593 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.3444, allocations: 111.6 kB / 0.5594 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.3447, allocations: 83.78 kB / 0.5594 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.3448, allocations: 87.73 kB / 0.5595 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.345, allocations: 13.83 kB / 0.5595 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.345, allocations: 43.83 kB / 0.5596 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3452, allocations: 59.8 kB / 0.5596 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3452, allocations: 8 kB / 0.5596 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.3453, allocations: 43.98 kB / 0.5597 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.3453, allocations: 23.86 kB / 0.5597 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.3454, allocations: 35.73 kB / 0.5597 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3456, allocations: 103.5 kB / 0.5598 GB, free: 4.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3456, allocations: 0 / 0.5598 GB, free: 4.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3456, allocations: 0 / 0.5598 GB, free: 4.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3456, allocations: 0 / 0.5598 GB, free: 4.891 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005016/0.3461, allocations: 345.6 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3461, allocations: 12.03 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.3462, allocations: 38.69 kB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.3462, allocations: 12.84 kB / 0.5602 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3464, allocations: 147 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3464, allocations: 4.375 kB / 0.5604 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3464, allocations: 384 / 0.5604 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3466, allocations: 65.55 kB / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3466, allocations: 0 / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3466, allocations: 0 / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3466, allocations: 0 / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3467, allocations: 31.97 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.347, allocations: 263.9 kB / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.3472, allocations: 38.5 kB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3472, allocations: 20.94 kB / 0.5608 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3472, allocations: 0 / 0.5608 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3473, allocations: 38.56 kB / 0.5608 GB, free: 3.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3473, allocations: 0 / 0.5608 GB, free: 3.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008403/0.3481, allocations: 225.3 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3481, allocations: 55.41 kB / 0.5611 GB, free: 3.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3484, allocations: 214.2 kB / 0.5613 GB, free: 3.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3484, allocations: 25.7 kB / 0.5613 GB, free: 3.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.3484, allocations: 112.1 kB / 0.5614 GB, free: 3.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.3485, allocations: 31.81 kB / 0.5615 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.3485, allocations: 25.7 kB / 0.5615 GB, free: 3.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3487, allocations: 322.8 kB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.3487, allocations: 35.86 kB / 0.5618 GB, free: 2.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.3488, allocations: 23.98 kB / 0.5618 GB, free: 2.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3489, allocations: 65.05 kB / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.349, allocations: 0 / 0.5619 GB, free: 2.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002076/0.3492, allocations: 101.6 kB / 0.562 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3492, allocations: 4 kB / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3492, allocations: 0 / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3492, allocations: 3.938 kB / 0.562 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3493, allocations: 27.92 kB / 0.562 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3493, allocations: 3.938 kB / 0.562 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.3493, allocations: 4 kB / 0.562 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3493, allocations: 0 / 0.562 GB, free: 2.441 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 (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 0.0001141/0.3495, allocations: 129.8 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3495, allocations: 11.91 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.3498, allocations: 119 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3498, allocations: 4 kB / 0.5623 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3498, allocations: 3.938 kB / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3498, allocations: 0 / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.3503, allocations: 378.3 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3503, allocations: 0 / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.3504, allocations: 23.92 kB / 0.5627 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3504, allocations: 8.031 kB / 0.5627 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3504, allocations: 0 / 0.5627 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3504, allocations: 0 / 0.5627 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3504, allocations: 0 / 0.5627 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3507, allocations: 208.2 kB / 0.5629 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.3507, allocations: 15.84 kB / 0.5629 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3507, allocations: 8 kB / 0.5629 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.3508, allocations: 7.984 kB / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.3508, allocations: 0 / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3508, allocations: 11.98 kB / 0.5629 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.351, allocations: 164.2 kB / 0.5631 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.351, allocations: 0 / 0.5631 GB, free: 1.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.3512, allocations: 19.94 kB / 0.5631 GB, free: 1.254 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002163/0.3534, allocations: 1.099 MB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3536, allocations: 59.95 kB / 0.5642 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3536, allocations: 4 kB / 0.5642 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.3537, allocations: 31.92 kB / 0.5643 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3541, allocations: 19.98 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3561, allocations: 1.673 MB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3564, allocations: 0.708 MB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.122e-05/0.3565, allocations: 20.95 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.3566, allocations: 31.42 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3566, allocations: 0 / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3861, allocations: 3.292 MB / 0.5699 GB, free: 10.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.53, allocations: 6.906 kB / 0.5699 GB, free: 10.42 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.531918982043862]