Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.001601/0.001602, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001344/0.001344, allocations: 183 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.643/1.643, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2548/0.2548, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.002111, allocations: 59.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5088, allocations: 60.83 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003345/0.5122, allocations: 1.572 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009194/0.5132, allocations: 415 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.5132, allocations: 1.156 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.5135, allocations: 80 kB / 0.5205 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.5138, allocations: 68.08 kB / 0.5205 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.514, allocations: 111.4 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.5143, allocations: 78.03 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.5144, allocations: 23.59 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.5145, allocations: 29.83 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.5146, allocations: 54.52 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.5146, allocations: 2.25 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.5147, allocations: 43.86 kB / 0.5209 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.5148, allocations: 23.16 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.5148, allocations: 33.94 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.5151, allocations: 97.39 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.5151, allocations: 0 / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5151, allocations: 0 / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.5151, allocations: 4 kB / 0.521 GB, free: 1.691 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005003/0.5156, allocations: 412 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5156, allocations: 9.094 kB / 0.5214 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.5157, allocations: 36.55 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.5157, allocations: 10.94 kB / 0.5215 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.516, allocations: 192.9 kB / 0.5216 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5161, allocations: 5.531 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.5161, allocations: 7.344 kB / 0.5217 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5162, allocations: 61.33 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5162, allocations: 1.156 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.5163, allocations: 0 / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.5163, allocations: 1.062 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.5164, allocations: 30.03 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.5168, allocations: 304.2 kB / 0.522 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5169, allocations: 49.84 kB / 0.5221 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.517, allocations: 19.89 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.517, allocations: 1.25 kB / 0.5221 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.517, allocations: 31.44 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.517, allocations: 0 / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001223/0.5183, allocations: 247.8 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.5183, allocations: 60.44 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.5187, allocations: 202.2 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5188, allocations: 30.89 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.5188, allocations: 104.9 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.5189, allocations: 28.69 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.5189, allocations: 29.83 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.5191, allocations: 321.7 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-05/0.5192, allocations: 29.77 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.5193, allocations: 31.2 kB / 0.5232 GB, free: 15.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5195, allocations: 70.97 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5195, allocations: 1.781 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003859/0.5199, allocations: 108.5 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.5199, allocations: 11.62 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.52, allocations: 0.5156 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.52, allocations: 1.469 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.5201, allocations: 17.45 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5201, allocations: 3.938 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.5201, allocations: 4.828 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.5202, allocations: 6.938 kB / 0.5234 GB, free: 15.67 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 (8): * Single equations (assignments): 8 * 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.000116/0.5203, allocations: 127.2 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.5203, allocations: 14.34 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.5208, allocations: 138.7 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.5208, allocations: 0.9688 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5209, allocations: 8.438 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5209, allocations: 0.5156 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.5217, allocations: 416.9 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5217, allocations: 4.688 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.5218, allocations: 16.92 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5218, allocations: 1.25 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5218, allocations: 1.719 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5218, allocations: 5.031 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5218, allocations: 1.672 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.5221, allocations: 220.6 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.5222, allocations: 89.02 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.5222, allocations: 1.922 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.5223, allocations: 9.156 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.5224, allocations: 6.062 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.5224, allocations: 3.281 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.5225, allocations: 160 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5226, allocations: 0 / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000251/0.5228, allocations: 23.19 kB / 0.5246 GB, free: 14.71 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 (8): * Single equations (assignments): 8 * 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.002402/0.5252, allocations: 1.092 MB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.5255, allocations: 71.02 kB / 0.5257 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5255, allocations: 5.406 kB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.5256, allocations: 41.48 kB / 0.5258 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.5262, allocations: 19.58 kB / 0.5258 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.5285, allocations: 1.675 MB / 0.5274 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.5289, allocations: 0.7206 MB / 0.5281 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.892e-05/0.529, allocations: 20.33 kB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.5291, allocations: 32.77 kB / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5291, allocations: 1.062 kB / 0.5282 GB, free: 11.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.5603, allocations: 3.07 MB / 0.5312 GB, free: 10.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.932/9.492, allocations: 18.98 kB / 0.5312 GB, free: 10.39 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches