Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001032/0.001032, allocations: 104 kB / 17.63 MB, free: 5.543 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.001044/0.001044, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2016/0.2016, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 77.56 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08026/0.08136, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002425/0.08382, allocations: 1.564 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006053/0.08443, allocations: 403.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.08449, allocations: 7.938 kB / 471.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.08474, allocations: 119.7 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.08493, allocations: 91.7 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.08515, allocations: 87.02 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.08529, allocations: 87.8 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.08538, allocations: 24.11 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.08545, allocations: 43.83 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.08555, allocations: 83.78 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.08557, allocations: 0 / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.08565, allocations: 39.98 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.08571, allocations: 27.91 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.08575, allocations: 47.62 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.0859, allocations: 115.8 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.08592, allocations: 4 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08592, allocations: 0 / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.08593, allocations: 0 / 472.1 MB, free: 11.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004006/0.08634, allocations: 422.8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.08637, allocations: 8.031 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.699e-05/0.0864, allocations: 34.75 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.08644, allocations: 8.844 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.0866, allocations: 207.9 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.08661, allocations: 8.375 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.08664, allocations: 20.05 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.08677, allocations: 53.67 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.08678, allocations: 0 / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.0868, allocations: 4 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.0868, allocations: 0 / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.08689, allocations: 23.98 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.08719, allocations: 308.7 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.08729, allocations: 42.5 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.08735, allocations: 16.86 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.08737, allocations: 0 / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.08739, allocations: 38.64 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.0874, allocations: 0 / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007444/0.08815, allocations: 229 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.08819, allocations: 55.34 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.0884, allocations: 270.2 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.08842, allocations: 25.7 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.08848, allocations: 128 kB / 474 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.08851, allocations: 19.66 kB / 474 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.08855, allocations: 21.72 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.08864, allocations: 330.8 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.08872, allocations: 23.98 kB / 474.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.08878, allocations: 19.98 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.08892, allocations: 64.83 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.08892, allocations: 0 / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001797/0.08911, allocations: 105.5 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.08913, allocations: 7.938 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.08914, allocations: 0 / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.08915, allocations: 0 / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.08924, allocations: 23.92 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.08925, allocations: 3.938 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.0893, allocations: 15.98 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.08931, allocations: 0 / 474.6 MB, free: 8.812 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 (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 8.239e-05/0.0894, allocations: 133.8 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.08943, allocations: 15.81 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.08967, allocations: 115 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.08968, allocations: 4 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.08969, allocations: 3.938 kB / 474.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.0897, allocations: 4 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.09012, allocations: 415.5 kB / 475.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.09014, allocations: 3.938 kB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.09021, allocations: 16.41 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.09021, allocations: 0 / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.09023, allocations: 8 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.09024, allocations: 4.109 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.09024, allocations: 3.984 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.09046, allocations: 204.2 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.09051, allocations: 100.8 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.09053, allocations: 4 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.0906, allocations: 7.984 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.09063, allocations: 8 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.09064, allocations: 4 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.09078, allocations: 199.2 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09079, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.09102, allocations: 20 kB / 475.8 MB, free: 7.457 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 (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.001193/0.09222, allocations: 1.092 MB / 476.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.09242, allocations: 67.94 kB / 477 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.09243, allocations: 0 / 477 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.696e-05/0.09251, allocations: 39.92 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.0928, allocations: 23.64 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.09434, allocations: 1.768 MB / 478.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.09457, allocations: 0.7158 MB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.09462, allocations: 12.95 kB / 479.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.09467, allocations: 39.42 kB / 479.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.09468, allocations: 0 / 479.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.2108, allocations: 3.215 MB / 482.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.199, allocations: 14.12 kB / 482.8 MB, free: 0.582 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches