Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008919/0.000892, allocations: 175.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.11/1.11, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006909/0.0006909, allocations: 95.75 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2689/0.2689, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 12 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08309, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.001422/0.08455, allocations: 1.255 MB / 492.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000439/0.085, allocations: 307.8 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.08505, allocations: 3.938 kB / 492.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.08521, allocations: 15.92 kB / 492.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.08532, allocations: 31.91 kB / 492.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.08554, allocations: 87.83 kB / 492.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.08565, allocations: 47.83 kB / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.08573, allocations: 15.98 kB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.08577, allocations: 15.92 kB / 492.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.08582, allocations: 15.88 kB / 492.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.08584, allocations: 4 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.145e-05/0.08591, allocations: 35.97 kB / 492.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.08595, allocations: 11.94 kB / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.08599, allocations: 45.56 kB / 492.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.038e-05/0.08608, allocations: 52.2 kB / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.08609, allocations: 0 / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.0861, allocations: 0 / 492.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.08611, allocations: 0 / 492.9 MB, free: 8.824 MB / 378.7 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.0003258/0.08644, allocations: 383.1 kB / 493.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.08648, allocations: 8.031 kB / 493.2 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.478e-05/0.08651, allocations: 38.75 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.08654, allocations: 12.84 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.08667, allocations: 184.2 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.08669, allocations: 8.375 kB / 493.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.08671, allocations: 4.359 kB / 493.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.08682, allocations: 49.62 kB / 493.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.08684, allocations: 0 / 493.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.08685, allocations: 0 / 493.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.08686, allocations: 4 kB / 493.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.08695, allocations: 27.98 kB / 493.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.08726, allocations: 284.8 kB / 493.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.08743, allocations: 54.5 kB / 493.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.08749, allocations: 16.94 kB / 493.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.08751, allocations: 4 kB / 493.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.08753, allocations: 34.56 kB / 493.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.08754, allocations: 0 / 493.9 MB, free: 7.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004953/0.08804, allocations: 161.3 kB / 494.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.08808, allocations: 55.39 kB / 494.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.0882, allocations: 153.7 kB / 494.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.08822, allocations: 29.7 kB / 494.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.08827, allocations: 96.12 kB / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.08829, allocations: 11.81 kB / 494.4 MB, free: 7.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.0883, allocations: 0 / 494.4 MB, free: 7.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.08838, allocations: 326.8 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.08846, allocations: 27.92 kB / 494.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.08853, allocations: 31.92 kB / 494.8 MB, free: 6.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.08867, allocations: 56.83 kB / 494.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.08868, allocations: 0 / 494.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001749/0.08886, allocations: 97.56 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.08888, allocations: 11.94 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.08889, allocations: 0 / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.0889, allocations: 0 / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.08897, allocations: 15.98 kB / 495 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.08898, allocations: 0 / 495 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.08902, allocations: 11.88 kB / 495 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.08904, allocations: 8.25 kB / 495 MB, free: 6.434 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.08911, allocations: 121.8 kB / 495.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.08914, allocations: 7.906 kB / 495.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.08936, allocations: 102 kB / 495.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.08937, allocations: 4 kB / 495.2 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.08938, allocations: 4.281 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.08939, allocations: 7.922 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.08975, allocations: 358.5 kB / 495.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.08977, allocations: 0 / 495.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.08983, allocations: 23.97 kB / 495.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.08984, allocations: 0 / 495.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.08985, allocations: 3.938 kB / 495.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.08985, allocations: 0 / 495.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.08986, allocations: 0 / 495.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.09007, allocations: 199.4 kB / 495.8 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.09011, allocations: 81.02 kB / 495.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.09013, allocations: 7.938 kB / 495.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.0902, allocations: 7.984 kB / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.09023, allocations: 0 / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.09025, allocations: 8 kB / 495.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.09032, allocations: 118.4 kB / 496 MB, free: 5.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09033, allocations: 0 / 496 MB, free: 5.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.09054, allocations: 23.98 kB / 496.1 MB, free: 5.27 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.09156, allocations: 1.02 MB / 497.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.09175, allocations: 63.83 kB / 497.2 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.09176, allocations: 4 kB / 497.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.09184, allocations: 27.98 kB / 497.2 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.09211, allocations: 15.98 kB / 497.2 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.09296, allocations: 0.6247 MB / 497.8 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.09316, allocations: 0.6926 MB / 498.5 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.09321, allocations: 23.42 kB / 498.5 MB, free: 2.746 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.09322, allocations: 0 / 498.5 MB, free: 2.746 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.594/2.688, allocations: 1.689 MB / 0.4885 GB, free: 1.055 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches