Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001114/0.001114, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.00116/0.00116, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2384/0.2384, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3608, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002881/0.3637, allocations: 1.56 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.3646, allocations: 390.9 kB / 0.5203 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.3647, allocations: 3.938 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.365, allocations: 29.02 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.3653, allocations: 39.34 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.3657, allocations: 83.8 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3659, allocations: 54.55 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.366, allocations: 16.58 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.646e-05/0.3661, allocations: 17.72 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.3662, allocations: 16.58 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3662, allocations: 6.375 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3663, allocations: 30.22 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.3664, allocations: 17.38 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.3665, allocations: 21.06 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3667, allocations: 78.73 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3667, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3667, allocations: 1.062 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3667, allocations: 0 / 0.5207 GB, free: 1.746 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.0004762/0.3672, allocations: 373.3 kB / 0.5211 GB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3673, allocations: 9.469 kB / 0.5211 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.3673, allocations: 37.02 kB / 0.5211 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.3673, allocations: 7.406 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3675, allocations: 186.6 kB / 0.5213 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3675, allocations: 5.438 kB / 0.5213 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3676, allocations: 2.438 kB / 0.5213 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3677, allocations: 53.5 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3677, allocations: 0 / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3678, allocations: 0 / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3678, allocations: 1.375 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3679, allocations: 30.64 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.3682, allocations: 275.5 kB / 0.5217 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3684, allocations: 44.7 kB / 0.5217 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.3685, allocations: 17.67 kB / 0.5217 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3685, allocations: 0.5625 kB / 0.5217 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3686, allocations: 36.55 kB / 0.5218 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3686, allocations: 0 / 0.5218 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004986/0.3691, allocations: 131.5 kB / 0.5219 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3691, allocations: 52.69 kB / 0.5219 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3692, allocations: 143 kB / 0.5221 GB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.3692, allocations: 29.7 kB / 0.5221 GB, free: 416 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.3693, allocations: 101.6 kB / 0.5222 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.3693, allocations: 15.61 kB / 0.5222 GB, free: 304 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.3693, allocations: 13.81 kB / 0.5222 GB, free: 288 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.3694, allocations: 323.7 kB / 0.5225 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.3695, allocations: 18.12 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.3696, allocations: 19.02 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.3697, allocations: 50.91 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3697, allocations: 1.125 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001717/0.3699, allocations: 79.53 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3699, allocations: 10.38 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3699, allocations: 0 / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3699, allocations: 1.031 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.37, allocations: 12.78 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.37, allocations: 0 / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.37, allocations: 9.281 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3701, allocations: 5.031 kB / 0.5227 GB, free: 15.87 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 7.868e-05/0.3701, allocations: 123.7 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3702, allocations: 7.25 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.3704, allocations: 89 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3704, allocations: 2.609 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3704, allocations: 0 / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3704, allocations: 7.984 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.3708, allocations: 350 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3708, allocations: 0 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.3709, allocations: 12.52 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3709, allocations: 0.5156 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.3709, allocations: 1.375 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3709, allocations: 4.641 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3709, allocations: 1.344 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.3712, allocations: 176.7 kB / 0.5235 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3712, allocations: 82.81 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3712, allocations: 5.516 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.3713, allocations: 9.109 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.3713, allocations: 8.016 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.3714, allocations: 1.156 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.3714, allocations: 113.7 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3714, allocations: 0 / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.3717, allocations: 14.64 kB / 0.5237 GB, free: 14.99 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.001329/0.373, allocations: 1.004 MB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.3732, allocations: 47.66 kB / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3732, allocations: 1.031 kB / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.3733, allocations: 23.97 kB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3736, allocations: 17.53 kB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3751, allocations: 1.409 MB / 0.5261 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3754, allocations: 0.6955 MB / 0.5268 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.3754, allocations: 5.688 kB / 0.5268 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.3755, allocations: 21.94 kB / 0.5269 GB, free: 12.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3755, allocations: 0 / 0.5269 GB, free: 12.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.3938, allocations: 2.472 MB / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.9, allocations: 8.5 kB / 0.5293 GB, free: 11.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches