Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.001245/0.001245, allocations: 118.4 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.001264/0.001264, 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2129/0.2129, allocations: 44.18 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3548, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002783/0.3576, allocations: 1.608 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006946/0.3583, allocations: 426 kB / 0.5204 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.3584, allocations: 1.062 kB / 0.5204 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.3587, allocations: 101.3 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.359, allocations: 71.2 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.3593, allocations: 121.8 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3595, allocations: 89.38 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3596, allocations: 32.28 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.3597, allocations: 38.3 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3598, allocations: 61.59 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3599, allocations: 4.25 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.36, allocations: 49.94 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.3601, allocations: 22.58 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.3601, allocations: 45.02 kB / 0.521 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3603, allocations: 128.2 kB / 0.5212 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3604, allocations: 0 / 0.5212 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3604, allocations: 1.344 kB / 0.5212 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3604, allocations: 0 / 0.5212 GB, free: 1.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004325/0.3608, allocations: 440.2 kB / 0.5216 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3609, allocations: 10.73 kB / 0.5216 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.3609, allocations: 33.86 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.3609, allocations: 10.95 kB / 0.5216 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3611, allocations: 210.1 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3611, allocations: 6.656 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3611, allocations: 12.84 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3613, allocations: 78.05 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3613, allocations: 0 / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3613, allocations: 2.109 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3613, allocations: 1.188 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3615, allocations: 41.7 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.3619, allocations: 351.7 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.362, allocations: 70.3 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.3621, allocations: 24.19 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3621, allocations: 5.125 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.3621, allocations: 32.08 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3621, allocations: 4 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001002/0.3632, allocations: 335.6 kB / 0.5228 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.3632, allocations: 53.25 kB / 0.5228 GB, free: 216 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.3634, allocations: 233.8 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3634, allocations: 25.7 kB / 0.5231 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.3635, allocations: 110.7 kB / 0.5232 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.3636, allocations: 49.72 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3636, allocations: 28.33 kB / 0.5232 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3638, allocations: 323.5 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3639, allocations: 44.72 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/0.364, allocations: 44.59 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.3642, allocations: 112 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3642, allocations: 0 / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002907/0.3645, allocations: 159.1 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3646, allocations: 6.281 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3646, allocations: 3.938 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3646, allocations: 1.25 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3647, allocations: 25.28 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3647, allocations: 5.438 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.3648, allocations: 12.67 kB / 0.5239 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3648, allocations: 4.5 kB / 0.524 GB, free: 15.4 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 (13): * Single equations (assignments): 13 * 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.0001114/0.3649, allocations: 135 kB / 0.5241 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.365, allocations: 13.81 kB / 0.5241 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.3653, allocations: 191.4 kB / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3654, allocations: 5.625 kB / 0.5243 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3654, allocations: 4 kB / 0.5243 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/0.3654, allocations: 6.078 kB / 0.5243 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006919/0.3661, allocations: 492.7 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3661, allocations: 1.953 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.3662, allocations: 33.39 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3662, allocations: 0 / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3663, allocations: 10.81 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3663, allocations: 2.031 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3663, allocations: 0.6094 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3666, allocations: 255.2 kB / 0.5251 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.3667, allocations: 88.56 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3667, allocations: 2.031 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.3668, allocations: 17.33 kB / 0.5252 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.3668, allocations: 8.922 kB / 0.5252 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3668, allocations: 3.312 kB / 0.5252 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.367, allocations: 176.5 kB / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.367, allocations: 0 / 0.5253 GB, free: 14.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3673, allocations: 32.36 kB / 0.5254 GB, free: 14.36 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 (13): * Single equations (assignments): 13 * 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.002162/0.3694, allocations: 1.128 MB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3697, allocations: 115.1 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3697, allocations: 3.938 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3699, allocations: 60.61 kB / 0.5266 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3703, allocations: 22.55 kB / 0.5267 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3725, allocations: 1.891 MB / 0.5285 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3729, allocations: 0.7194 MB / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.074e-05/0.373, allocations: 34.58 kB / 0.5292 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.3731, allocations: 44.47 kB / 0.5293 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3731, allocations: 3.938 kB / 0.5293 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.3971, allocations: 3.532 MB / 0.5327 GB, free: 9.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.449, allocations: 1.125 kB / 0.5327 GB, free: 9.562 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_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_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches