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.000795/0.0007951, allocations: 92.78 kB / 17.35 MB, free: 6.371 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.0008617/0.0008617, allocations: 176.6 kB / 18.25 MB, free: 5.523 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.147/1.147, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.1678/0.1678, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 8 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08427, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001445/0.08575, allocations: 1.274 MB / 473.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005923/0.08635, allocations: 391.4 kB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.08639, allocations: 0 / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.08655, allocations: 19.92 kB / 474 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.08666, allocations: 27.91 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.08687, allocations: 74.23 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.08698, allocations: 59.77 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.08706, allocations: 11.98 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.0871, allocations: 19.94 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.08715, allocations: 15.86 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.08717, allocations: 0 / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.056e-05/0.08724, allocations: 31.98 kB / 474.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.08728, allocations: 15.86 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.08732, allocations: 41.58 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.08744, allocations: 68.06 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.08745, allocations: 0 / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08746, allocations: 0 / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.08747, allocations: 0 / 474.4 MB, free: 11.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000319/0.08779, allocations: 371.3 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.08783, allocations: 11.97 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.08786, allocations: 30.75 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.08789, allocations: 8.844 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.08803, allocations: 192.2 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.08804, allocations: 4.312 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.08806, allocations: 8.312 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.08818, allocations: 53.62 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.0882, allocations: 4 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-06/0.08821, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.08822, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.08831, allocations: 27.97 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.08857, allocations: 268.9 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.08874, allocations: 50.48 kB / 475.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.0888, allocations: 20.84 kB / 475.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.08882, allocations: 0 / 475.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.08884, allocations: 38.56 kB / 475.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.08885, allocations: 0 / 475.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004662/0.08932, allocations: 157.3 kB / 475.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.08936, allocations: 55.41 kB / 475.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.08947, allocations: 146.1 kB / 475.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.08949, allocations: 25.7 kB / 475.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.08953, allocations: 92.14 kB / 475.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.08955, allocations: 15.73 kB / 475.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.08958, allocations: 17.72 kB / 476 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.08966, allocations: 314.8 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.08973, allocations: 23.98 kB / 476.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.828e-05/0.0898, allocations: 23.98 kB / 476.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.08993, allocations: 60.77 kB / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.08994, allocations: 0 / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001642/0.09011, allocations: 85.58 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.09013, allocations: 8 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.09013, allocations: 0 / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.09015, allocations: 0 / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.09021, allocations: 15.98 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.09022, allocations: 0 / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.09026, allocations: 11.98 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.09028, allocations: 7.938 kB / 476.5 MB, free: 8.836 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 (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 6.423e-05/0.09035, allocations: 117.8 kB / 476.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.09038, allocations: 7.906 kB / 476.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.09058, allocations: 97.97 kB / 476.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.09059, allocations: 3.938 kB / 476.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.0906, allocations: 0 / 476.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.09061, allocations: 7.938 kB / 476.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.09096, allocations: 350.4 kB / 477.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.09097, allocations: 4.375 kB / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.09103, allocations: 15.98 kB / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.09104, allocations: 0 / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.09105, allocations: 4 kB / 477.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.09106, allocations: 7.938 kB / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.09106, allocations: 0 / 477.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.09126, allocations: 187.4 kB / 477.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.0913, allocations: 85.02 kB / 477.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.09132, allocations: 3.938 kB / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.09141, allocations: 11.92 kB / 477.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.09144, allocations: 4 kB / 477.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.09145, allocations: 0 / 477.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.189e-05/0.09152, allocations: 122.1 kB / 477.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09153, allocations: 0 / 477.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.09175, allocations: 16 kB / 477.5 MB, free: 7.707 MB / 350.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.001092/0.09285, allocations: 1.006 MB / 478.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.09303, allocations: 55.89 kB / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09304, allocations: 0 / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.145e-05/0.09311, allocations: 31.98 kB / 478.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.09341, allocations: 23.42 kB / 478.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.09466, allocations: 1.434 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.09486, allocations: 0.6887 MB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.439e-05/0.0949, allocations: 8 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.09494, allocations: 23.42 kB / 480.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09495, allocations: 0 / 480.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.385/1.48, allocations: 2.056 MB / 482.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/1.48, allocations: 238.7 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/3.184, allocations: 3.938 kB / 483.1 MB, free: 2.258 MB / 350.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