Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006791/0.006791, allocations: 100.1 kB / 15.87 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 193.7 kB / 16.79 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2783/0.2783, allocations: 43.5 MB / 313.5 MB, free: 8.281 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 70.56 kB / 382.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.09062, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002173/0.09282, allocations: 1.626 MB / 441.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000456/0.09328, allocations: 307.7 kB / 441.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.09332, allocations: 0 / 441.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.0935, allocations: 67.84 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.09361, allocations: 63.8 kB / 442 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.09378, allocations: 63.88 kB / 442 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.305e-05/0.09388, allocations: 67.81 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.09394, allocations: 16.25 kB / 442.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.09399, allocations: 23.92 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.09406, allocations: 51.81 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.09408, allocations: 8 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.09414, allocations: 31.94 kB / 442.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.09418, allocations: 19.92 kB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.09422, allocations: 27.8 kB / 442.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.09433, allocations: 87.66 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.09434, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.09435, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.09436, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.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.0003077/0.09467, allocations: 395 kB / 442.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.0947, allocations: 8.031 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.308e-05/0.09473, allocations: 38.75 kB / 442.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.09476, allocations: 12.83 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.09489, allocations: 200 kB / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-06/0.0949, allocations: 4.312 kB / 443 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.09492, allocations: 4.375 kB / 443 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/0.09502, allocations: 49.61 kB / 443.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.09504, allocations: 0 / 443.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.09505, allocations: 4 kB / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-06/0.09506, allocations: 3.938 kB / 443.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/0.09514, allocations: 23.98 kB / 443.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.09538, allocations: 280.8 kB / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.09553, allocations: 46.55 kB / 443.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.09558, allocations: 16.94 kB / 443.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.0956, allocations: 4 kB / 443.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.09562, allocations: 34.56 kB / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.09563, allocations: 0 / 443.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00042/0.09605, allocations: 145.1 kB / 443.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.09608, allocations: 51.41 kB / 443.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.09623, allocations: 202.2 kB / 443.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.09625, allocations: 29.7 kB / 443.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.0963, allocations: 100.1 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.09632, allocations: 19.72 kB / 444 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.09636, allocations: 21.7 kB / 444 MB, free: 10.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.09644, allocations: 322.8 kB / 444.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.0965, allocations: 11.98 kB / 444.3 MB, free: 9.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.09656, allocations: 23.92 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.09667, allocations: 52.83 kB / 444.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.09668, allocations: 0 / 444.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001577/0.09684, allocations: 81.77 kB / 444.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.09686, allocations: 4 kB / 444.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.09687, allocations: 0 / 444.5 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.09688, allocations: 3.984 kB / 444.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.09693, allocations: 8 kB / 444.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.09695, allocations: 8 kB / 444.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.09699, allocations: 11.86 kB / 444.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.097, allocations: 7.938 kB / 444.5 MB, free: 9.625 MB / 382.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 (5): * Single equations (assignments): 5 * 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 6.44e-05/0.09707, allocations: 121.8 kB / 444.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.0971, allocations: 11.89 kB / 444.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.09729, allocations: 89.97 kB / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.09731, allocations: 0 / 444.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.09731, allocations: 4 kB / 444.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.09732, allocations: 0 / 444.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.09766, allocations: 354.4 kB / 445.1 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.09767, allocations: 3.938 kB / 445.1 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.09772, allocations: 11.98 kB / 445.1 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.09773, allocations: 3.938 kB / 445.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.09774, allocations: 4 kB / 445.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.09775, allocations: 7.938 kB / 445.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.09775, allocations: 0 / 445.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.09793, allocations: 183.5 kB / 445.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.09797, allocations: 89.02 kB / 445.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.09799, allocations: 4.062 kB / 445.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.09806, allocations: 11.92 kB / 445.4 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.09808, allocations: 4 kB / 445.4 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.09809, allocations: 4 kB / 445.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.984e-05/0.0982, allocations: 164 kB / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0982, allocations: 0 / 445.6 MB, free: 8.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.09842, allocations: 12 kB / 445.6 MB, free: 8.457 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001028/0.09945, allocations: 1.004 MB / 446.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.09961, allocations: 51.91 kB / 446.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.09962, allocations: 0 / 446.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.09969, allocations: 23.92 kB / 446.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.09996, allocations: 23.52 kB / 446.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1012, allocations: 1.556 MB / 448.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.1014, allocations: 0.7004 MB / 449 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.1015, allocations: 16.05 kB / 449 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1015, allocations: 31.42 kB / 449 MB, free: 4.961 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1015, allocations: 0 / 449 MB, free: 4.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2285/0.33, allocations: 2.484 MB / 451.5 MB, free: 2.453 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.3304, allocations: 249.2 kB / 451.7 MB, free: 2.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.023, allocations: 3.938 kB / 451.7 MB, free: 2.18 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches