Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001721/0.001721, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00201/0.00201, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2136/0.2136, allocations: 44.94 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.002073/0.002073, allocations: 71.89 kB / 0.4931 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 65.46 MB / 0.557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003169/0.3466, allocations: 1.627 MB / 0.5586 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3476, allocations: 0.531 MB / 0.5591 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.3477, allocations: 4 kB / 0.5591 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.348, allocations: 79.69 kB / 0.5592 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.3483, allocations: 107.6 kB / 0.5593 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.3486, allocations: 115.3 kB / 0.5594 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3488, allocations: 83.75 kB / 0.5595 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3489, allocations: 17.8 kB / 0.5595 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.3489, allocations: 31.92 kB / 0.5595 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3491, allocations: 67.67 kB / 0.5596 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3491, allocations: 4 kB / 0.5596 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.3492, allocations: 47.98 kB / 0.5596 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.3492, allocations: 23.91 kB / 0.5596 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.3493, allocations: 23.81 kB / 0.5597 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3495, allocations: 111.5 kB / 0.5598 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3495, allocations: 0 / 0.5598 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3495, allocations: 0 / 0.5598 GB, free: 4.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3495, allocations: 0 / 0.5598 GB, free: 4.703 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.0005491/0.3501, allocations: 341.5 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.3501, allocations: 12.03 kB / 0.5601 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.3502, allocations: 30.75 kB / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3502, allocations: 16.84 kB / 0.5601 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.3504, allocations: 147 kB / 0.5603 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3504, allocations: 8.375 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3505, allocations: 384 / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3506, allocations: 61.61 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3506, allocations: 0 / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3506, allocations: 0 / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3506, allocations: 0 / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3508, allocations: 31.91 kB / 0.5604 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3512, allocations: 259.9 kB / 0.5606 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3514, allocations: 54.55 kB / 0.5607 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.3514, allocations: 20.94 kB / 0.5607 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3514, allocations: 0 / 0.5607 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3515, allocations: 38.5 kB / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3515, allocations: 0 / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009479/0.3524, allocations: 245.2 kB / 0.561 GB, free: 3.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3525, allocations: 55.39 kB / 0.561 GB, free: 3.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.3527, allocations: 214.2 kB / 0.5612 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3527, allocations: 25.7 kB / 0.5613 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.3528, allocations: 112 kB / 0.5614 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3528, allocations: 27.75 kB / 0.5614 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.3529, allocations: 25.7 kB / 0.5614 GB, free: 2.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.353, allocations: 322.8 kB / 0.5617 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.3531, allocations: 27.98 kB / 0.5618 GB, free: 2.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.3532, allocations: 35.91 kB / 0.5618 GB, free: 2.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3534, allocations: 73.05 kB / 0.5619 GB, free: 2.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3534, allocations: 3.938 kB / 0.5619 GB, free: 2.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.3536, allocations: 113.6 kB / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3536, allocations: 8 kB / 0.562 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3536, allocations: 0 / 0.562 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3536, allocations: 0 / 0.562 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3537, allocations: 19.98 kB / 0.562 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3537, allocations: 3.938 kB / 0.562 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.3538, allocations: 8 kB / 0.562 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3538, allocations: 4 kB / 0.562 GB, free: 2.207 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.0001107/0.3539, allocations: 133.8 kB / 0.5621 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.3539, allocations: 11.91 kB / 0.5621 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.3543, allocations: 135 kB / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3543, allocations: 0 / 0.5623 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3543, allocations: 7.938 kB / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3543, allocations: 0 / 0.5623 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.3549, allocations: 378.4 kB / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3549, allocations: 4 kB / 0.5626 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.3549, allocations: 23.92 kB / 0.5627 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3549, allocations: 0 / 0.5627 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.355, allocations: 4 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.355, allocations: 3.938 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.355, allocations: 4.031 kB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.3553, allocations: 212.3 kB / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3553, allocations: 15.84 kB / 0.5629 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3553, allocations: 0 / 0.5629 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3554, allocations: 7.984 kB / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.3554, allocations: 4 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3554, allocations: 4 kB / 0.5629 GB, free: 1.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.3556, allocations: 168.2 kB / 0.5631 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3556, allocations: 0 / 0.5631 GB, free: 1.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3558, allocations: 27.94 kB / 0.5631 GB, free: 0.9883 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.002309/0.3581, allocations: 1.14 MB / 0.5642 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.3584, allocations: 75.88 kB / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3584, allocations: 0 / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3585, allocations: 35.98 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.3588, allocations: 20.27 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3609, allocations: 1.724 MB / 0.566 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.361, allocations: 96.73 kB / 0.5661 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.294e-05/0.361, allocations: 28.89 kB / 0.5661 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.3611, allocations: 35.42 kB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3611, allocations: 4 kB / 0.5662 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3906, allocations: 3.72 MB / 0.5698 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 2.578 kB / 0.5698 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.656741853803396]