Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",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.001512/0.001512, allocations: 118.4 kB / 17.78 MB, free: 5.254 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.00165/0.00165, allocations: 183.8 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.397/1.397, 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.209/0.209, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3495, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002504/0.352, allocations: 1.561 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3532, allocations: 1.026 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.3533, allocations: 5.406 kB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.3535, allocations: 18.98 kB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.3537, allocations: 46.27 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3539, allocations: 80.16 kB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3541, allocations: 64.08 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.3542, allocations: 6.5 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.3542, allocations: 26.27 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.3547, allocations: 25.78 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3547, allocations: 2.094 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3548, allocations: 50.75 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.3548, allocations: 11.84 kB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.3549, allocations: 26.39 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3551, allocations: 84.89 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3551, allocations: 0.75 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3551, allocations: 0.9062 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3551, allocations: 0 / 0.5214 GB, free: 1.281 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.0003933/0.3555, allocations: 378.7 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3555, allocations: 9.125 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.3555, allocations: 37.06 kB / 0.5218 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3556, allocations: 12.11 kB / 0.5218 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3557, allocations: 194 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3557, allocations: 1.594 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3558, allocations: 2.047 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3559, allocations: 69.27 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3559, allocations: 4.703 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3559, allocations: 0.9375 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3559, allocations: 0.9688 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.356, allocations: 26.28 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.3563, allocations: 268.3 kB / 0.5224 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3565, allocations: 43.78 kB / 0.5224 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.3565, allocations: 21.09 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3565, allocations: 1.25 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.3566, allocations: 36.38 kB / 0.5225 GB, free: 192 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3566, allocations: 0 / 0.5225 GB, free: 192 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005145/0.3571, allocations: 131.2 kB / 0.5226 GB, free: 132 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3571, allocations: 77.62 kB / 0.5227 GB, free: 36 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3573, allocations: 139.6 kB / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3573, allocations: 30.61 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.3573, allocations: 97.05 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3574, allocations: 15.47 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3574, allocations: 19.55 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3575, allocations: 322.3 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.3576, allocations: 18.14 kB / 0.5233 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.3577, allocations: 35.88 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.3578, allocations: 46.03 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3578, allocations: 1.281 kB / 0.5234 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.358, allocations: 80.3 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.358, allocations: 5.969 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.358, allocations: 3.938 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3581, allocations: 1.094 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.3581, allocations: 15.89 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3581, allocations: 1.891 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.3582, allocations: 4.609 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.3582, allocations: 5.25 kB / 0.5235 GB, free: 15.33 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.801e-05/0.3583, allocations: 114.7 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.3583, allocations: 7.578 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3586, allocations: 92.2 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3586, allocations: 5.25 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3586, allocations: 0 / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3586, allocations: 0.9219 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.359, allocations: 350.5 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.359, allocations: 2.094 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.3591, allocations: 10.88 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3591, allocations: 2.328 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3591, allocations: 0 / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3591, allocations: 9.406 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3591, allocations: 0 / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3593, allocations: 173 kB / 0.5242 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.3594, allocations: 83.12 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3594, allocations: 1.438 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.3595, allocations: 13.8 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3595, allocations: 7.438 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3595, allocations: 5.953 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.837e-05/0.3596, allocations: 103 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3596, allocations: 0 / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000259/0.3599, allocations: 24.58 kB / 0.5244 GB, free: 14.46 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.001981/0.3619, allocations: 1.05 MB / 0.5255 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3621, allocations: 48.19 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3621, allocations: 4 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.3622, allocations: 22.67 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3625, allocations: 24.17 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3641, allocations: 1.379 MB / 0.5269 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3644, allocations: 0.6948 MB / 0.5276 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.3644, allocations: 19.78 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.3645, allocations: 25.06 kB / 0.5276 GB, free: 11.67 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3645, allocations: 3.938 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.391, allocations: 2.745 MB / 0.5303 GB, free: 10.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.134, allocations: 17.25 kB / 0.5303 GB, free: 10.52 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_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_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches