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.001341/0.00134, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001587/0.001587, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.44/1.44, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2119/0.2119, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.5 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.114, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.0034/0.1174, allocations: 1.561 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.1183, allocations: 435.1 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.1184, allocations: 4 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.1189, allocations: 447.2 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.1194, allocations: 263.4 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1199, allocations: 158.9 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.1202, allocations: 155.7 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1203, allocations: 23.97 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1205, allocations: 103.7 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1207, allocations: 203.7 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1208, allocations: 0 / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.1208, allocations: 27.97 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.121, allocations: 79.69 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.121, allocations: 106.9 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1213, allocations: 243.3 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1213, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1214, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1214, allocations: 0 / 473.1 MB, free: 10.48 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.0007544/0.1221, allocations: 0.6375 MB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1222, allocations: 8.031 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.1222, allocations: 34.75 kB / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.1223, allocations: 44.41 kB / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1226, allocations: 300.2 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.1226, allocations: 384 / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1226, allocations: 4.375 kB / 474.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1228, allocations: 57.55 kB / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1228, allocations: 0 / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1228, allocations: 4 kB / 474.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1228, allocations: 0 / 474.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.1229, allocations: 19.98 kB / 474.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.1234, allocations: 388.7 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.1235, allocations: 38.5 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.1236, allocations: 20.91 kB / 474.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1236, allocations: 0 / 474.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1236, allocations: 30.56 kB / 474.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1236, allocations: 4 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002693/0.1239, allocations: 97.2 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.124, allocations: 59.34 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.1248, allocations: 0.8614 MB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1248, allocations: 29.64 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.125, allocations: 224 kB / 476 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.125, allocations: 11.92 kB / 476 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.1251, allocations: 17.83 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1252, allocations: 362.7 kB / 476.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.485e-05/0.1253, allocations: 11.98 kB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.1253, allocations: 12 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.1254, allocations: 24.84 kB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1254, allocations: 0 / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001712/0.1256, allocations: 97.17 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1256, allocations: 8 kB / 476.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1256, allocations: 7.922 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1256, allocations: 0 / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.1257, allocations: 4 kB / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1257, allocations: 0 / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.1258, allocations: 7.984 kB / 476.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1258, allocations: 0 / 476.5 MB, free: 6.852 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.0001838/0.126, allocations: 217.7 kB / 476.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.1261, allocations: 43.47 kB / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.1263, allocations: 112.6 kB / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1263, allocations: 4 kB / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1263, allocations: 0 / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1263, allocations: 0 / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1266, allocations: 281.5 kB / 477.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1266, allocations: 0 / 477.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.1266, allocations: 11.94 kB / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1266, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1267, allocations: 8.031 kB / 477.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1267, allocations: 3.984 kB / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1267, allocations: 0 / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.1269, allocations: 190.9 kB / 477.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.127, allocations: 108.6 kB / 477.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.127, allocations: 0 / 477.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.1271, allocations: 8.031 kB / 477.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1272, allocations: 0 / 477.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1272, allocations: 0 / 477.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000592/0.1278, allocations: 0.6589 MB / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1278, allocations: 0 / 478.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.128, allocations: 19.94 kB / 478.2 MB, free: 5.102 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.001281/0.1293, allocations: 0.9821 MB / 479.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1295, allocations: 27.98 kB / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1295, allocations: 0 / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.1295, allocations: 15.94 kB / 479.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.13, allocations: 18.3 kB / 479.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.1343, allocations: 3.181 MB / 482.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.1349, allocations: 0.8182 MB / 483.2 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.135, allocations: 11.98 kB / 483.2 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.1352, allocations: 115.5 kB / 483.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1352, allocations: 0 / 483.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.1627, allocations: 5.604 MB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.752, allocations: 12.38 kB / 488.9 MB, free: 10.38 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