Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",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.0008304/0.0008305, allocations: 174.1 kB / 16.72 MB, free: 5.082 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.199/1.199, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006803/0.0006802, allocations: 94.34 kB / 271.2 MB, free: 8.254 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.266/0.266, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 12 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08879, allocations: 58.86 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001449/0.09027, allocations: 1.267 MB / 492.2 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004545/0.09075, allocations: 295.8 kB / 492.5 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.0908, allocations: 4 kB / 492.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.09092, allocations: 31.89 kB / 492.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.09101, allocations: 27.86 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.0912, allocations: 63.91 kB / 492.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.0913, allocations: 63.84 kB / 492.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.09136, allocations: 20.16 kB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.0914, allocations: 19.86 kB / 492.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.09145, allocations: 27.84 kB / 492.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.09147, allocations: 4 kB / 492.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.09153, allocations: 20 kB / 492.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.09156, allocations: 15.92 kB / 492.8 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.0916, allocations: 45.56 kB / 492.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.203e-05/0.0917, allocations: 64.19 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.09171, allocations: 0 / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09171, allocations: 0 / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.933e-06/0.09172, allocations: 0 / 492.9 MB, free: 8.809 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000291/0.09202, allocations: 383.1 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.09205, allocations: 11.97 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.09208, allocations: 30.75 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.09211, allocations: 20.83 kB / 493.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.09225, allocations: 184.3 kB / 493.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-06/0.09227, allocations: 4.375 kB / 493.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.09229, allocations: 8.125 kB / 493.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.0924, allocations: 65.66 kB / 493.6 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.09242, allocations: 3.906 kB / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-06/0.09243, allocations: 0 / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-06/0.09243, allocations: 0 / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.09253, allocations: 47.91 kB / 493.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.09281, allocations: 288.8 kB / 493.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.09291, allocations: 50.56 kB / 494 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.09297, allocations: 24.97 kB / 494 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.09299, allocations: 4 kB / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.09301, allocations: 34.5 kB / 494 MB, free: 7.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.09302, allocations: 0 / 494 MB, free: 7.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004906/0.09352, allocations: 193.3 kB / 494.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.09356, allocations: 55.41 kB / 494.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.09369, allocations: 157.8 kB / 494.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.09371, allocations: 25.7 kB / 494.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.09376, allocations: 103.9 kB / 494.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.09379, allocations: 23.7 kB / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-06/0.0938, allocations: 4 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.09389, allocations: 314.8 kB / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.09398, allocations: 31.97 kB / 494.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-05/0.09405, allocations: 27.98 kB / 494.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.0942, allocations: 68.83 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.09421, allocations: 3.938 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001874/0.0944, allocations: 101.5 kB / 495.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.09442, allocations: 12 kB / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.09443, allocations: 0 / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.09444, allocations: 0 / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.09453, allocations: 19.98 kB / 495.1 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.09454, allocations: 3.938 kB / 495.1 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.09459, allocations: 11.98 kB / 495.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.0946, allocations: 4 kB / 495.2 MB, free: 6.305 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 (8): * Single equations (assignments): 8 * 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 7.604e-05/0.09468, allocations: 117.8 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.09471, allocations: 7.906 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.09496, allocations: 138.4 kB / 495.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.09497, allocations: 0 / 495.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.09498, allocations: 3.938 kB / 495.4 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.09499, allocations: 4 kB / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.09541, allocations: 394.8 kB / 495.8 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.09542, allocations: 3.984 kB / 495.8 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.0955, allocations: 23.92 kB / 495.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.09551, allocations: 8 kB / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.09552, allocations: 0 / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09552, allocations: 0 / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.09553, allocations: 0 / 495.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.09574, allocations: 199.4 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.0958, allocations: 92.94 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.09582, allocations: 8 kB / 496.1 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.09588, allocations: 4 kB / 496.1 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.09592, allocations: 11.92 kB / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.09593, allocations: 0 / 496.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.935e-05/0.09601, allocations: 122.7 kB / 496.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09602, allocations: 0 / 496.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.09624, allocations: 20 kB / 496.3 MB, free: 5.066 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 (8): * Single equations (assignments): 8 * 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.001058/0.0973, allocations: 1.043 MB / 497.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.09748, allocations: 71.91 kB / 497.4 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.09749, allocations: 0 / 497.4 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.09758, allocations: 43.97 kB / 497.4 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.09787, allocations: 11.98 kB / 497.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.09876, allocations: 0.6599 MB / 498.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.09899, allocations: 0.6965 MB / 498.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.09905, allocations: 27.42 kB / 498.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09905, allocations: 0 / 498.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.561/2.66, allocations: 1.81 MB / 0.4889 GB, free: 0.6445 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches