Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001317/0.001317, allocations: 114.4 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.001307/0.001307, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2231/0.2231, allocations: 44.18 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3684, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002559/0.371, allocations: 1.562 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006658/0.3717, allocations: 396.6 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.3718, allocations: 0 / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.372, allocations: 20.84 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.3722, allocations: 47.09 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.3724, allocations: 80.06 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3726, allocations: 59.22 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3727, allocations: 15.03 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.3727, allocations: 19.05 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.3728, allocations: 24.44 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3728, allocations: 2.719 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.3729, allocations: 25.8 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.373, allocations: 13.14 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.373, allocations: 20.72 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3732, allocations: 78.38 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3732, allocations: 1.156 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3732, allocations: 0 / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3732, allocations: 0 / 0.5207 GB, free: 1.75 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.0003763/0.3736, allocations: 381.2 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3736, allocations: 10.5 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.3736, allocations: 31.5 kB / 0.5211 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.3737, allocations: 8.5 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3738, allocations: 189 kB / 0.5213 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-06/0.3738, allocations: 1.812 kB / 0.5213 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3739, allocations: 9.812 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.374, allocations: 49.38 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.374, allocations: 4 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.374, allocations: 1.375 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.374, allocations: 0.6094 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.3741, allocations: 22.42 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.3744, allocations: 271.7 kB / 0.5217 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3746, allocations: 45 kB / 0.5217 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.3747, allocations: 21.28 kB / 0.5217 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3747, allocations: 0.6094 kB / 0.5217 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3747, allocations: 36.17 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3747, allocations: 0 / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004871/0.3752, allocations: 131.9 kB / 0.5219 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.3752, allocations: 55.41 kB / 0.5219 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3754, allocations: 141.3 kB / 0.5221 GB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.3754, allocations: 25.7 kB / 0.5221 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.3754, allocations: 101.2 kB / 0.5222 GB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3754, allocations: 16 kB / 0.5222 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.3755, allocations: 14.19 kB / 0.5222 GB, free: 292 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.3756, allocations: 324 kB / 0.5225 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.3756, allocations: 21.66 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.3757, allocations: 19.94 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3758, allocations: 45.52 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3758, allocations: 1.062 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002081/0.376, allocations: 79.92 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3761, allocations: 5.469 kB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3761, allocations: 4.781 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3761, allocations: 5.125 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.3762, allocations: 12.55 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3762, allocations: 0 / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.3762, allocations: 5.422 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3762, allocations: 5.75 kB / 0.5227 GB, free: 15.88 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 8.632e-05/0.3763, allocations: 119.3 kB / 0.5228 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3764, allocations: 8.016 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.3766, allocations: 99.81 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3766, allocations: 1.891 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3766, allocations: 3.938 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3767, allocations: 1.703 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.3771, allocations: 345.5 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3771, allocations: 0 / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.3772, allocations: 11.91 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3772, allocations: 5.75 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3772, allocations: 0 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3772, allocations: 5.125 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3772, allocations: 0.6562 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3774, allocations: 173 kB / 0.5235 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.3775, allocations: 84.03 kB / 0.5236 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3775, allocations: 0 / 0.5236 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.3776, allocations: 17.48 kB / 0.5236 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.3776, allocations: 7.594 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3777, allocations: 1.125 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.893e-05/0.3777, allocations: 109.7 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3777, allocations: 0 / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.378, allocations: 15.09 kB / 0.5237 GB, free: 15 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.001266/0.3793, allocations: 1.006 MB / 0.5247 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3795, allocations: 48.23 kB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3795, allocations: 0 / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.3796, allocations: 24.34 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.0003662/0.3799, allocations: 22.98 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.001504/0.3814, allocations: 1.415 MB / 0.5262 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3817, allocations: 0.7003 MB / 0.5268 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.334e-05/0.3818, allocations: 6.172 kB / 0.5268 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.3818, allocations: 26.33 kB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3818, allocations: 0 / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.4019, allocations: 2.46 MB / 0.5293 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.942, allocations: 15.91 kB / 0.5293 GB, free: 11.34 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches