Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001973/0.001973, 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.002231/0.002231, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2266/0.2266, allocations: 44.94 MB / 358.8 MB, free: 6.152 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.002455/0.002455, allocations: 67.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3323, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002936/0.3353, allocations: 1.6 MB / 0.5585 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3363, allocations: 0.5349 MB / 0.5591 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.3364, allocations: 0 / 0.5591 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.3366, allocations: 83.69 kB / 0.5592 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.3369, allocations: 103.6 kB / 0.5593 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.3372, allocations: 119.3 kB / 0.5594 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3374, allocations: 87.75 kB / 0.5594 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.3375, allocations: 13.81 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.3375, allocations: 39.83 kB / 0.5595 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3377, allocations: 63.75 kB / 0.5596 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.3377, allocations: 4 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.3378, allocations: 43.98 kB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.3378, allocations: 19.92 kB / 0.5596 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.3379, allocations: 23.81 kB / 0.5596 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3381, allocations: 115.5 kB / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3381, allocations: 0 / 0.5598 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3381, allocations: 4 kB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3381, allocations: 0 / 0.5598 GB, free: 4.664 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.0004841/0.3386, allocations: 345.5 kB / 0.5601 GB, free: 4.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3386, allocations: 16.02 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.3386, allocations: 30.75 kB / 0.5601 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.3387, allocations: 16.83 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3389, allocations: 139 kB / 0.5603 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3389, allocations: 8.312 kB / 0.5603 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.339, allocations: 4.375 kB / 0.5603 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3391, allocations: 57.61 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3391, allocations: 4 kB / 0.5604 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3391, allocations: 4 kB / 0.5604 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3391, allocations: 0 / 0.5604 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3392, allocations: 31.91 kB / 0.5604 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.3397, allocations: 263.9 kB / 0.5606 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3398, allocations: 50.55 kB / 0.5607 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.3398, allocations: 20.88 kB / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3398, allocations: 0 / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3399, allocations: 42.56 kB / 0.5607 GB, free: 3.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3399, allocations: 0 / 0.5607 GB, free: 3.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000917/0.3408, allocations: 233.2 kB / 0.561 GB, free: 3.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3408, allocations: 51.41 kB / 0.561 GB, free: 3.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.3411, allocations: 214.2 kB / 0.5612 GB, free: 3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3411, allocations: 33.7 kB / 0.5613 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3412, allocations: 108.1 kB / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3412, allocations: 31.73 kB / 0.5614 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.3413, allocations: 25.66 kB / 0.5614 GB, free: 2.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3414, allocations: 322.8 kB / 0.5617 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-05/0.3415, allocations: 31.97 kB / 0.5618 GB, free: 2.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.3416, allocations: 28.05 kB / 0.5618 GB, free: 2.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3418, allocations: 76.75 kB / 0.5619 GB, free: 2.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3418, allocations: 4 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002466/0.3421, allocations: 113.8 kB / 0.562 GB, free: 2.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3421, allocations: 4 kB / 0.562 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3421, allocations: 4 kB / 0.562 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3421, allocations: 0 / 0.562 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.3422, allocations: 15.98 kB / 0.562 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3422, allocations: 3.938 kB / 0.562 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3422, allocations: 7.984 kB / 0.562 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.3422, allocations: 8 kB / 0.562 GB, free: 2.164 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.0001188/0.3424, allocations: 129.8 kB / 0.5621 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.3424, allocations: 11.91 kB / 0.5621 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.3427, allocations: 127 kB / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3427, allocations: 432 / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3427, allocations: 3.938 kB / 0.5623 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3427, allocations: 0 / 0.5623 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3433, allocations: 394.3 kB / 0.5626 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3433, allocations: 0 / 0.5626 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.3434, allocations: 23.88 kB / 0.5627 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3434, allocations: 11.91 kB / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3434, allocations: 8 kB / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3434, allocations: 0 / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3434, allocations: 0 / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3437, allocations: 208.3 kB / 0.5629 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.3437, allocations: 15.84 kB / 0.5629 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3437, allocations: 8.031 kB / 0.5629 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.3438, allocations: 7.984 kB / 0.5629 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.3439, allocations: 7.984 kB / 0.5629 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3439, allocations: 4 kB / 0.5629 GB, free: 1.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.344, allocations: 168.2 kB / 0.5631 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.344, allocations: 0 / 0.5631 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.3443, allocations: 27.88 kB / 0.5631 GB, free: 0.9336 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.002324/0.3466, allocations: 1.121 MB / 0.5642 GB, free: 0 / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3468, allocations: 71.89 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3468, allocations: 0 / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3469, allocations: 47.91 kB / 0.5643 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3473, allocations: 29.34 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.3496, allocations: 1.724 MB / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3497, allocations: 100.8 kB / 0.5661 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.3498, allocations: 16.97 kB / 0.5661 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.3499, allocations: 35.42 kB / 0.5662 GB, free: 13.89 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3499, allocations: 0 / 0.5662 GB, free: 13.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3801, allocations: 3.72 MB / 0.5698 GB, free: 10.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 10.17 kB / 0.5698 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.771917988080531]