Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1",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.0009854/0.0009854, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.155/1.155, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006971/0.0006971, allocations: 97.47 kB / 271.2 MB, free: 8.25 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.286/0.286, allocations: 43.55 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08554, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.001483/0.08706, allocations: 1.251 MB / 492.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004682/0.08754, allocations: 307.8 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.08759, allocations: 0 / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.08775, allocations: 15.92 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.08787, allocations: 35.86 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.0881, allocations: 79.81 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.65e-05/0.0882, allocations: 43.91 kB / 492.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.0883, allocations: 15.98 kB / 492.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.08834, allocations: 19.86 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.493e-05/0.08839, allocations: 19.92 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.08841, allocations: 3.938 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.61e-05/0.08848, allocations: 31.92 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.08851, allocations: 12 kB / 492.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.08856, allocations: 41.58 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.207e-05/0.08865, allocations: 52.17 kB / 492.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08867, allocations: 0 / 492.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08867, allocations: 0 / 492.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.08868, allocations: 0 / 492.9 MB, free: 8.613 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.0003408/0.08903, allocations: 379.2 kB / 493.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.08906, allocations: 8.031 kB / 493.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.444e-05/0.08909, allocations: 30.75 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.048e-05/0.08912, allocations: 12.83 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.08926, allocations: 188.1 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.08928, allocations: 384 / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.0893, allocations: 4.375 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.08943, allocations: 57.61 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.08944, allocations: 0 / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-06/0.08946, allocations: 4 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.08946, allocations: 0 / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.221e-05/0.08955, allocations: 31.92 kB / 493.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.08987, allocations: 276.9 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.09004, allocations: 50.55 kB / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.0901, allocations: 16.86 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.09012, allocations: 3.938 kB / 493.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.09015, allocations: 30.56 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.09016, allocations: 0 / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000483/0.09065, allocations: 173.3 kB / 494.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.09069, allocations: 51.41 kB / 494.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.0908, allocations: 145.8 kB / 494.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.09082, allocations: 29.7 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.09087, allocations: 92.12 kB / 494.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.09089, allocations: 11.81 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.0909, allocations: 4 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.091, allocations: 318.8 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.09107, allocations: 23.98 kB / 494.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.09114, allocations: 27.98 kB / 494.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.09128, allocations: 65.02 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.09129, allocations: 0 / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001745/0.09147, allocations: 101.5 kB / 494.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.09149, allocations: 4 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.0915, allocations: 0 / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.09152, allocations: 4.219 kB / 495 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.0916, allocations: 19.92 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.09161, allocations: 0 / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.09165, allocations: 15.94 kB / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.09167, allocations: 3.938 kB / 495 MB, free: 6.246 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 7.316e-05/0.09174, allocations: 117.8 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.09178, allocations: 15.89 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.092, allocations: 105.9 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.09201, allocations: 4 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.09202, allocations: 0 / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.09203, allocations: 0 / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.0924, allocations: 354.5 kB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.09241, allocations: 8 kB / 495.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.09247, allocations: 11.98 kB / 495.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.09248, allocations: 4 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.09249, allocations: 4 kB / 495.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.0925, allocations: 7.875 kB / 495.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.0925, allocations: 0 / 495.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.09271, allocations: 191.6 kB / 495.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.09276, allocations: 85.02 kB / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.09278, allocations: 4 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.09285, allocations: 11.92 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.09289, allocations: 4 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.0929, allocations: 0 / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.09297, allocations: 115.2 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09297, allocations: 0 / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.09318, allocations: 20 kB / 496 MB, free: 5.098 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.001048/0.09424, allocations: 1.025 MB / 497.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.09443, allocations: 55.97 kB / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.09444, allocations: 0 / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.09452, allocations: 39.91 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.09479, allocations: 11.94 kB / 497.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.09565, allocations: 0.5901 MB / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.09588, allocations: 0.6965 MB / 498.4 MB, free: 2.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.09593, allocations: 19.44 kB / 498.5 MB, free: 2.602 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.09593, allocations: 4 kB / 498.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/2.739, allocations: 1.635 MB / 0.4884 GB, free: 0.9609 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches