Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001174/0.001174, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001259/0.001259, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.22/0.22, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3499, allocations: 60.81 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002759/0.3527, allocations: 1.57 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.354, allocations: 1.016 MB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.3541, allocations: 0 / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.3543, allocations: 23.91 kB / 0.521 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3545, allocations: 42.78 kB / 0.521 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3548, allocations: 84.16 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3549, allocations: 54.61 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.355, allocations: 20.75 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.3551, allocations: 26.28 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3552, allocations: 21.17 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3552, allocations: 8.078 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3553, allocations: 49.97 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.3554, allocations: 11.88 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3554, allocations: 17.84 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3556, allocations: 89.12 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3556, allocations: 1.859 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3556, allocations: 0 / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3556, allocations: 4 kB / 0.5214 GB, free: 1.254 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003686/0.356, allocations: 382.2 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3561, allocations: 10.42 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.3561, allocations: 32.84 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3561, allocations: 7.141 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3563, allocations: 190.2 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3563, allocations: 5.531 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.3563, allocations: 2.875 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.3565, allocations: 64.91 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3565, allocations: 7.891 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3565, allocations: 5.188 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3565, allocations: 1.734 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.3566, allocations: 25.03 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.3569, allocations: 273 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3571, allocations: 48.19 kB / 0.5224 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.3572, allocations: 14.42 kB / 0.5224 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3572, allocations: 0 / 0.5224 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.3572, allocations: 36.34 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3572, allocations: 0 / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005414/0.3578, allocations: 136 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3578, allocations: 77.62 kB / 0.5227 GB, free: 4 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.358, allocations: 139.9 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3581, allocations: 26.73 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.3582, allocations: 91.86 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3582, allocations: 16.3 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3582, allocations: 18.67 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3584, allocations: 323.9 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.3585, allocations: 18.12 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.3586, allocations: 31.17 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3587, allocations: 46.28 kB / 0.5233 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3587, allocations: 1.5 kB / 0.5233 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001873/0.3589, allocations: 86.86 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3589, allocations: 6.5 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3589, allocations: 0 / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3589, allocations: 1.719 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.359, allocations: 16.45 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.359, allocations: 0 / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.3591, allocations: 10.47 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.3591, allocations: 5.219 kB / 0.5235 GB, free: 15.3 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 (5): * Single equations (assignments): 5 * 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.011e-05/0.3592, allocations: 117.8 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.3592, allocations: 11.47 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3595, allocations: 89.05 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3595, allocations: 1.094 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3595, allocations: 0 / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3595, allocations: 4.797 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.36, allocations: 346.6 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.36, allocations: 1.25 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.3601, allocations: 15.75 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3601, allocations: 0 / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3601, allocations: 1.875 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3601, allocations: 5.031 kB / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3601, allocations: 0 / 0.524 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3604, allocations: 177.8 kB / 0.5242 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.3604, allocations: 82.95 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3605, allocations: 0.9062 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.3605, allocations: 9.328 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3606, allocations: 7.703 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3606, allocations: 1.188 kB / 0.5243 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3607, allocations: 104.6 kB / 0.5244 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3607, allocations: 0 / 0.5244 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.361, allocations: 20.69 kB / 0.5244 GB, free: 14.44 MB / 398.1 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 (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.0016/0.3626, allocations: 1.061 MB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.3629, allocations: 43.52 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3629, allocations: 0.875 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.363, allocations: 27.83 kB / 0.5255 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3633, allocations: 25.58 kB / 0.5255 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.365, allocations: 1.384 MB / 0.5269 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3653, allocations: 0.691 MB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.3654, allocations: 11.78 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.3654, allocations: 28.58 kB / 0.5276 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3654, allocations: 0 / 0.5276 GB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.3889, allocations: 2.74 MB / 0.5303 GB, free: 10.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.179, allocations: 19.64 kB / 0.5303 GB, free: 10.5 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches