Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001148/0.001148, 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.001178/0.001178, 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.357/1.357, 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.2498/0.2498, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3515, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002719/0.3543, allocations: 1.558 MB / 0.52 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.355, allocations: 404.3 kB / 0.5203 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3551, allocations: 5.062 kB / 0.5203 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.3553, allocations: 32.52 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.3555, allocations: 43.8 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.3558, allocations: 106.3 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3559, allocations: 51.45 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.356, allocations: 12.83 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.493e-05/0.3561, allocations: 17.69 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.3562, allocations: 29.62 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3562, allocations: 2.625 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.3562, allocations: 29.14 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.3563, allocations: 13.86 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.3563, allocations: 20.89 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3565, allocations: 76.44 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3565, allocations: 0 / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3565, allocations: 0 / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3565, allocations: 1.25 kB / 0.5208 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.0002963/0.3568, allocations: 376.5 kB / 0.5211 GB, free: 1.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3569, allocations: 10.12 kB / 0.5211 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.018e-05/0.3569, allocations: 31.5 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.3569, allocations: 9.359 kB / 0.5212 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.357, allocations: 186.3 kB / 0.5214 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.357, allocations: 5.688 kB / 0.5214 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3571, allocations: 1.344 kB / 0.5214 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3572, allocations: 53.83 kB / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3572, allocations: 1.469 kB / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.3572, allocations: 0.7031 kB / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.3572, allocations: 4 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.3573, allocations: 24.36 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.3576, allocations: 279 kB / 0.5217 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.3578, allocations: 45.75 kB / 0.5217 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.3578, allocations: 18.19 kB / 0.5218 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.3578, allocations: 5.281 kB / 0.5218 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/0.3579, allocations: 32.2 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3579, allocations: 0 / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005293/0.3584, allocations: 142.3 kB / 0.5219 GB, free: 0.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.3584, allocations: 53.27 kB / 0.522 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3586, allocations: 144.2 kB / 0.5221 GB, free: 456 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3586, allocations: 25.7 kB / 0.5222 GB, free: 424 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.3586, allocations: 101.9 kB / 0.5222 GB, free: 324 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3586, allocations: 15.73 kB / 0.5223 GB, free: 312 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.3587, allocations: 14.33 kB / 0.5223 GB, free: 296 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3588, allocations: 323.5 kB / 0.5226 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.3589, allocations: 20.41 kB / 0.5226 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.359, allocations: 29 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3591, allocations: 55.67 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3591, allocations: 0 / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002024/0.3593, allocations: 85.52 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3594, allocations: 8.188 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3594, allocations: 3.938 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3594, allocations: 5.125 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.3595, allocations: 16.16 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3595, allocations: 1.156 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.3595, allocations: 5.766 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3596, allocations: 5.125 kB / 0.5228 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 0.0001036/0.3597, allocations: 119.5 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.3597, allocations: 8.281 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.36, allocations: 101.6 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.36, allocations: 9.047 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.36, allocations: 0 / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.36, allocations: 1.656 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.3604, allocations: 352 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3604, allocations: 0.5625 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.3605, allocations: 12.28 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3605, allocations: 0.6562 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3605, allocations: 1.125 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3605, allocations: 9.188 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3605, allocations: 0.6562 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3608, allocations: 180.6 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3608, allocations: 87.77 kB / 0.5237 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3609, allocations: 1.188 kB / 0.5237 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.3609, allocations: 9.672 kB / 0.5237 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.361, allocations: 6.562 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.361, allocations: 2.562 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.698e-05/0.3611, allocations: 111.7 kB / 0.5238 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3611, allocations: 0 / 0.5238 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3613, allocations: 19.53 kB / 0.5238 GB, free: 14.98 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.001351/0.3627, allocations: 1.013 MB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.3629, allocations: 52.44 kB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3629, allocations: 0 / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.363, allocations: 29.8 kB / 0.5249 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3633, allocations: 17.78 kB / 0.5249 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3649, allocations: 1.438 MB / 0.5263 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3652, allocations: 0.6989 MB / 0.527 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.3653, allocations: 11.56 kB / 0.527 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.3653, allocations: 20.77 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3653, allocations: 1.594 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.384, allocations: 2.501 MB / 0.5294 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.139, allocations: 13.19 kB / 0.5295 GB, free: 11.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches