Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.00157/0.00157, allocations: 113.3 kB / 17.78 MB, free: 5.258 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.001806/0.001806, allocations: 188.9 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2045/0.2045, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3286, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002507/0.3311, allocations: 1.587 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.3318, allocations: 418.6 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.3319, allocations: 1.156 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.3322, allocations: 72.38 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.3324, allocations: 65.55 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.3327, allocations: 108.3 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3329, allocations: 71.2 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.333, allocations: 19.75 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.3331, allocations: 36.2 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3332, allocations: 48.22 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3332, allocations: 2.938 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.372e-05/0.3333, allocations: 39.12 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.3334, allocations: 18.08 kB / 0.5209 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.3334, allocations: 30.39 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3336, allocations: 101.6 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3336, allocations: 1.375 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.123e-06/0.3336, allocations: 0.5156 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3336, allocations: 0 / 0.521 GB, free: 1.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004512/0.3341, allocations: 408.1 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3342, allocations: 10.98 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.3342, allocations: 32.66 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3342, allocations: 13.19 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3344, allocations: 201 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3344, allocations: 1.688 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3345, allocations: 10.92 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3346, allocations: 53.12 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3346, allocations: 1.031 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3346, allocations: 7.938 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3346, allocations: 1.125 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.858e-05/0.3347, allocations: 26.02 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.3351, allocations: 304.5 kB / 0.522 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3352, allocations: 48.95 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.3353, allocations: 16.03 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3353, allocations: 0 / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.3353, allocations: 36.42 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3353, allocations: 5.156 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009491/0.3363, allocations: 229.9 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.3363, allocations: 57.05 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.3365, allocations: 188.8 kB / 0.5226 GB, free: 300 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3366, allocations: 31.2 kB / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.3366, allocations: 103.2 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.3367, allocations: 26.11 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3367, allocations: 29.33 kB / 0.5227 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3368, allocations: 321.7 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.3369, allocations: 29.45 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/0.337, allocations: 30.66 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3372, allocations: 84.28 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3372, allocations: 0 / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002385/0.3375, allocations: 104.9 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3375, allocations: 6.156 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3375, allocations: 0 / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3375, allocations: 2.656 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3376, allocations: 23.05 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3376, allocations: 9.953 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.3377, allocations: 12.67 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.3377, allocations: 2.875 kB / 0.5233 GB, free: 15.67 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 9.744e-05/0.3378, allocations: 121.3 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.3379, allocations: 17.81 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3382, allocations: 126.5 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3382, allocations: 1.25 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3382, allocations: 11.88 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3382, allocations: 0.7969 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.3388, allocations: 414.6 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3388, allocations: 4.938 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/0.3389, allocations: 16.81 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3389, allocations: 1.25 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3389, allocations: 2 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3389, allocations: 5.156 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3389, allocations: 1.125 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3392, allocations: 216.7 kB / 0.5242 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.3392, allocations: 89.34 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3393, allocations: 5.5 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.3394, allocations: 12.78 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.3394, allocations: 6.688 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.3394, allocations: 1.469 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3395, allocations: 148.3 kB / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3395, allocations: 0 / 0.5245 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3398, allocations: 18.8 kB / 0.5245 GB, free: 14.72 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.001433/0.3412, allocations: 1.114 MB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3415, allocations: 70.83 kB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3415, allocations: 1.25 kB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.3416, allocations: 42.19 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.342, allocations: 20.55 kB / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3437, allocations: 1.637 MB / 0.5273 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.344, allocations: 0.7079 MB / 0.528 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.932e-05/0.3441, allocations: 24.69 kB / 0.528 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.3441, allocations: 33.03 kB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3442, allocations: 4 kB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.3636, allocations: 3.017 MB / 0.531 GB, free: 10.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.151, allocations: 2.156 kB / 0.531 GB, free: 10.46 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches