Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001348/0.001348, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001563/0.001563, allocations: 194 kB / 18.12 MB, free: 5.363 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.402/1.402, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2281/0.2281, allocations: 44.18 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.08 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003471/0.1106, allocations: 1.691 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1125, allocations: 1.031 MB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.1126, allocations: 4 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1129, allocations: 31.84 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1132, allocations: 27.92 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.1137, allocations: 158.8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.1139, allocations: 67.78 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1141, allocations: 19.98 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.1141, allocations: 19.92 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1143, allocations: 31.84 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.1144, allocations: 4 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1145, allocations: 55.91 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.1146, allocations: 11.92 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1147, allocations: 31.8 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1149, allocations: 104 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1149, allocations: 0 / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1149, allocations: 0 / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.115, allocations: 0 / 471.9 MB, free: 11.45 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.0006775/0.1156, allocations: 399.2 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1157, allocations: 8.031 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.1157, allocations: 34.75 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.1158, allocations: 12.84 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.116, allocations: 196.1 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1161, allocations: 4.312 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.1161, allocations: 4.375 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.1163, allocations: 83.31 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1163, allocations: 0 / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1163, allocations: 0 / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1163, allocations: 0 / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.1165, allocations: 43.95 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.117, allocations: 308.7 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1172, allocations: 50.55 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.1173, allocations: 28.94 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1173, allocations: 0 / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1173, allocations: 30.56 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1173, allocations: 0 / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008214/0.1182, allocations: 225.2 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1182, allocations: 81.05 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1184, allocations: 148 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1185, allocations: 25.7 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.1185, allocations: 100.1 kB / 473.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.1186, allocations: 23.77 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.1186, allocations: 21.72 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1187, allocations: 322.8 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1189, allocations: 39.97 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.119, allocations: 49.69 kB / 474.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.1192, allocations: 84.8 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1193, allocations: 7.969 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000286/0.1195, allocations: 125.5 kB / 474.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1196, allocations: 4 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1196, allocations: 4.281 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1196, allocations: 0 / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1197, allocations: 19.98 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1197, allocations: 3.938 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.1198, allocations: 15.98 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1198, allocations: 0 / 474.4 MB, free: 8.746 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 (7): * Single equations (assignments): 7 * 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.0001175/0.12, allocations: 129.8 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.12, allocations: 11.89 kB / 474.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.1204, allocations: 146.5 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1204, allocations: 4 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1204, allocations: 3.938 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1204, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.121, allocations: 402.4 kB / 475 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.121, allocations: 0 / 475 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.1211, allocations: 19.92 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.1211, allocations: 19.86 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1211, allocations: 0 / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1211, allocations: 0 / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1211, allocations: 0 / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1215, allocations: 219.4 kB / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.1215, allocations: 85.11 kB / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1216, allocations: 7.938 kB / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1217, allocations: 11.98 kB / 475.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.1217, allocations: 3.984 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1217, allocations: 4 kB / 475.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1219, allocations: 113.7 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1219, allocations: 0 / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1221, allocations: 27.98 kB / 475.5 MB, free: 7.457 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 (7): * Single equations (assignments): 7 * 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.001653/0.1238, allocations: 1.087 MB / 476.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1241, allocations: 87.92 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1241, allocations: 0 / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1243, allocations: 55.89 kB / 476.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1247, allocations: 23.97 kB / 476.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1268, allocations: 1.606 MB / 478.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1271, allocations: 0.6965 MB / 479.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.96e-05/0.1272, allocations: 24.64 kB / 479.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.1273, allocations: 27.42 kB / 479.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1273, allocations: 0 / 479.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.1468, allocations: 2.872 MB / 482 MB, free: 1.113 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.147, allocations: 241.5 kB / 482.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.293, allocations: 0 / 482.3 MB, free: 0.8555 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches