Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.0007708/0.0007709, allocations: 97.06 kB / 17.35 MB, free: 6.344 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.0008564/0.0008565, allocations: 168 kB / 18.25 MB, free: 5.508 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.175/1.175, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.1573/0.1573, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08845, allocations: 61.93 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001587/0.09007, allocations: 1.329 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006237/0.09071, allocations: 403.2 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.09076, allocations: 0 / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.091, allocations: 87.81 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.09114, allocations: 71.84 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.09135, allocations: 79.84 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.09149, allocations: 87.73 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.826e-05/0.09158, allocations: 20.28 kB / 474.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.09164, allocations: 35.91 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.09173, allocations: 51.81 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.09175, allocations: 4 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.548e-05/0.09183, allocations: 35.98 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.09189, allocations: 31.84 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.09194, allocations: 57.39 kB / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.09208, allocations: 119.5 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.0921, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.0921, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.09211, allocations: 0 / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000371/0.09249, allocations: 409.3 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.09252, allocations: 12.02 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.09256, allocations: 38.75 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.09259, allocations: 16.72 kB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.09275, allocations: 215.9 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.09276, allocations: 4.375 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.09279, allocations: 4.375 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.09293, allocations: 77.55 kB / 475.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.09295, allocations: 4 kB / 475.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.09296, allocations: 0 / 475.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.09297, allocations: 3.984 kB / 475.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.09308, allocations: 43.97 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.09342, allocations: 332.6 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.09354, allocations: 62.56 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.0936, allocations: 24.84 kB / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.09363, allocations: 0 / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.09365, allocations: 30.56 kB / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.09366, allocations: 8 kB / 476 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000912/0.09458, allocations: 344.6 kB / 476.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.09461, allocations: 51.41 kB / 476.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.0948, allocations: 243 kB / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.09482, allocations: 29.7 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.09488, allocations: 108.1 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.09491, allocations: 43.38 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.09494, allocations: 13.7 kB / 476.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.09504, allocations: 326.8 kB / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.09513, allocations: 35.98 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.09522, allocations: 47.97 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.09539, allocations: 96.83 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.0954, allocations: 0 / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002319/0.09564, allocations: 149.4 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.09566, allocations: 6.656 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.09567, allocations: 0 / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.09568, allocations: 3.938 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.09579, allocations: 27.98 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.09581, allocations: 0 / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.09586, allocations: 15.98 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.09587, allocations: 4 kB / 477.5 MB, free: 7.801 MB / 350.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 8.777e-05/0.09596, allocations: 137.8 kB / 477.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.096, allocations: 7.906 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.0963, allocations: 181.9 kB / 477.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.09631, allocations: 4 kB / 477.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.09632, allocations: 4 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09633, allocations: 0 / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.09684, allocations: 491.1 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.09685, allocations: 3.938 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.09694, allocations: 27.98 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.09695, allocations: 0 / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.09696, allocations: 8 kB / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.09697, allocations: 0 / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09697, allocations: 0 / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.09723, allocations: 248.1 kB / 478.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.09728, allocations: 96.92 kB / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.0973, allocations: 3.984 kB / 478.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.09738, allocations: 8 kB / 478.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.09742, allocations: 15.98 kB / 478.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.09743, allocations: 4 kB / 478.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.09756, allocations: 171.2 kB / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09756, allocations: 0 / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.0978, allocations: 31.98 kB / 478.9 MB, free: 6.281 MB / 350.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.00127/0.09908, allocations: 1.125 MB / 480.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.0993, allocations: 103.7 kB / 480.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.09931, allocations: 3.938 kB / 480.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.09942, allocations: 60.03 kB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.09972, allocations: 23.92 kB / 480.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.1014, allocations: 1.854 MB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1016, allocations: 0.716 MB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.1017, allocations: 24.47 kB / 482.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.1017, allocations: 39.42 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1017, allocations: 0 / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.746/1.848, allocations: 2.98 MB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.848, allocations: 241.1 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/4.062, allocations: 3.938 kB / 486.1 MB, free: 15.24 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches