Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.0008631/0.0008633, allocations: 94.55 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.000989/0.0009891, allocations: 170.7 kB / 18.25 MB, free: 5.504 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.328/1.328, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1918/0.1918, allocations: 44.26 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 8.906 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 61.93 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001854/0.1118, allocations: 1.286 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.1126, allocations: 423.3 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.1127, allocations: 0 / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.1132, allocations: 447.2 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1135, allocations: 247.5 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1139, allocations: 154.9 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1141, allocations: 151.7 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.1142, allocations: 16 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1144, allocations: 103.7 kB / 475.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1146, allocations: 195.6 kB / 475.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1146, allocations: 4 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.1147, allocations: 19.98 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.1148, allocations: 79.69 kB / 475.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1149, allocations: 128.7 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1152, allocations: 235.3 kB / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1152, allocations: 0 / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1152, allocations: 0 / 475.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1152, allocations: 0 / 475.8 MB, free: 9.773 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.0006131/0.1158, allocations: 0.5893 MB / 476.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1158, allocations: 12.03 kB / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.1159, allocations: 38.73 kB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.116, allocations: 44.38 kB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1162, allocations: 304.1 kB / 476.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1163, allocations: 384 / 476.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1163, allocations: 4.375 kB / 476.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1164, allocations: 49.62 kB / 476.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1165, allocations: 0 / 476.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1165, allocations: 4 kB / 476.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1165, allocations: 4 kB / 476.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1166, allocations: 35.91 kB / 476.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1171, allocations: 384.8 kB / 477.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.728e-05/0.1172, allocations: 34.56 kB / 477.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.1173, allocations: 16.92 kB / 477.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1173, allocations: 3.984 kB / 477.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1173, allocations: 34.5 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1173, allocations: 0 / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002762/0.1176, allocations: 113.2 kB / 477.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1176, allocations: 51.41 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.1185, allocations: 0.8653 MB / 478.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1185, allocations: 29.7 kB / 478.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1187, allocations: 216.1 kB / 478.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1187, allocations: 7.844 kB / 478.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.1187, allocations: 13.72 kB / 478.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1189, allocations: 366.7 kB / 479 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.1189, allocations: 16.03 kB / 479 MB, free: 6.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.119, allocations: 15.92 kB / 479 MB, free: 6.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.1191, allocations: 28.84 kB / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1191, allocations: 0 / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001506/0.1192, allocations: 97.19 kB / 479.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1192, allocations: 10.34 kB / 479.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1193, allocations: 3.984 kB / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1193, allocations: 0 / 479.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.1193, allocations: 4 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1193, allocations: 0 / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.1194, allocations: 4 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1194, allocations: 0 / 479.2 MB, free: 6.18 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 (2): * Single equations (assignments): 2 * 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.0001839/0.1196, allocations: 225.7 kB / 479.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.1197, allocations: 39.53 kB / 479.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.1199, allocations: 116.6 kB / 479.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1199, allocations: 0 / 479.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1199, allocations: 7.922 kB / 479.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1199, allocations: 3.984 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.1202, allocations: 289.4 kB / 479.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1202, allocations: 4.031 kB / 479.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.1203, allocations: 8 kB / 479.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1203, allocations: 0 / 479.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1203, allocations: 0 / 479.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1203, allocations: 4 kB / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1203, allocations: 0 / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1205, allocations: 198.9 kB / 480 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.1206, allocations: 112.5 kB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1206, allocations: 7.984 kB / 480.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1207, allocations: 4 kB / 480.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1207, allocations: 0 / 480.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1207, allocations: 0 / 480.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005818/0.1213, allocations: 0.655 MB / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1213, allocations: 0 / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1215, allocations: 15.97 kB / 480.8 MB, free: 4.406 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 (2): * Single equations (assignments): 2 * 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.001129/0.1227, allocations: 0.9693 MB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.1228, allocations: 31.92 kB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1228, allocations: 0 / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.1229, allocations: 24.05 kB / 481.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1232, allocations: 24.95 kB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.1266, allocations: 3.247 MB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.127, allocations: 0.8262 MB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.1271, allocations: 12.06 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1272, allocations: 115.4 kB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1272, allocations: 0 / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.1453, allocations: 5.195 MB / 491.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003765/0.1458, allocations: 239.4 kB / 491.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.895, allocations: 0 / 491.5 MB, free: 9.793 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches