Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.001083/0.001083, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001137/0.001137, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2151/0.2151, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3311, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003285/0.3344, allocations: 1.585 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.3352, allocations: 404 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.3352, allocations: 1.188 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.3356, allocations: 72.98 kB / 0.5205 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3359, allocations: 67.33 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.3362, allocations: 89.55 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3364, allocations: 74.02 kB / 0.5207 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3365, allocations: 18.97 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.3366, allocations: 33.28 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3368, allocations: 52.94 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3368, allocations: 3.031 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3369, allocations: 47.92 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.337, allocations: 22.75 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.337, allocations: 26.11 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3372, allocations: 95.36 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3372, allocations: 0 / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3373, allocations: 1.125 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3373, allocations: 3.938 kB / 0.521 GB, free: 1.707 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.0004109/0.3377, allocations: 415 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3377, allocations: 10.88 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.459e-05/0.3378, allocations: 40.61 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3378, allocations: 9.547 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.338, allocations: 194 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.338, allocations: 1.469 kB / 0.5216 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.338, allocations: 6.344 kB / 0.5216 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3381, allocations: 56.94 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3382, allocations: 0 / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3382, allocations: 4.938 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3382, allocations: 1.625 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.3383, allocations: 27.98 kB / 0.5217 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.3386, allocations: 293.8 kB / 0.522 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3387, allocations: 47.78 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.3388, allocations: 18.25 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3388, allocations: 1.891 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.3388, allocations: 35.81 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3388, allocations: 0 / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008671/0.3397, allocations: 223.6 kB / 0.5223 GB, free: 0.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3397, allocations: 57.2 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.3399, allocations: 210.2 kB / 0.5226 GB, free: 304 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.34, allocations: 25.7 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.34, allocations: 104.6 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.34, allocations: 29.39 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.3401, allocations: 20.72 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3402, allocations: 322.5 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.3403, allocations: 21.66 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.3404, allocations: 40.05 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3406, allocations: 58.31 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3406, allocations: 1.312 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.3408, allocations: 92.64 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3408, allocations: 5.344 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3408, allocations: 0.7969 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3409, allocations: 5.234 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.341, allocations: 24.5 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.341, allocations: 4.594 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3411, allocations: 9.375 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.3411, allocations: 2.625 kB / 0.5233 GB, free: 15.7 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 0.0001041/0.3412, allocations: 122.4 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3412, allocations: 13 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.3415, allocations: 118.4 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3416, allocations: 5.953 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.3416, allocations: 3.938 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3416, allocations: 0.6094 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3421, allocations: 404.6 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3422, allocations: 7.875 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.3422, allocations: 16.62 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3422, allocations: 1.734 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3423, allocations: 5.125 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3423, allocations: 1.875 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3423, allocations: 1.344 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3426, allocations: 206.9 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3426, allocations: 92.62 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3426, allocations: 6.094 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.3427, allocations: 8.391 kB / 0.5243 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3428, allocations: 14.44 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3428, allocations: 2.141 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.343, allocations: 155.5 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.343, allocations: 1.188 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3432, allocations: 18.3 kB / 0.5244 GB, free: 14.75 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.001479/0.3447, allocations: 1.088 MB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.345, allocations: 60.02 kB / 0.5256 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.345, allocations: 2.188 kB / 0.5256 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.3451, allocations: 38.3 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3454, allocations: 21.78 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.3473, allocations: 1.648 MB / 0.5272 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3477, allocations: 0.7109 MB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.3478, allocations: 13.89 kB / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.3478, allocations: 32.02 kB / 0.528 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3478, allocations: 0 / 0.528 GB, free: 11.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.3701, allocations: 3.018 MB / 0.5309 GB, free: 10.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.007, allocations: 16.8 kB / 0.5309 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches