Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.0007619/0.000762, allocations: 95.59 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.0007968/0.0007969, allocations: 172.3 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.372/1.372, allocations: 223.3 MB / 242.3 MB, free: 216 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.2003/0.2003, allocations: 44.24 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002237/0.1153, allocations: 1.286 MB / 473.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.1162, allocations: 395.4 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.1163, allocations: 0 / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.1165, allocations: 23.91 kB / 474.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.1167, allocations: 19.94 kB / 474.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.117, allocations: 99.69 kB / 474.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1172, allocations: 63.77 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.1173, allocations: 12 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.1173, allocations: 15.92 kB / 474.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.961e-05/0.1174, allocations: 19.86 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1174, allocations: 4 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.1175, allocations: 23.98 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1176, allocations: 11.92 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.1176, allocations: 45.52 kB / 474.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1178, allocations: 72.06 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1178, allocations: 4 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1178, allocations: 0 / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1178, allocations: 0 / 474.4 MB, free: 11.17 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.0004429/0.1183, allocations: 365.6 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1183, allocations: 12.03 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.1184, allocations: 30.75 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1184, allocations: 8.844 kB / 474.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1186, allocations: 195.3 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1186, allocations: 4.375 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1186, allocations: 384 / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1188, allocations: 65.5 kB / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1188, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1188, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1188, allocations: 0 / 475.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.1189, allocations: 27.97 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.1193, allocations: 280.9 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1195, allocations: 46.5 kB / 475.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.1196, allocations: 24.94 kB / 475.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1196, allocations: 4 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1197, allocations: 30.56 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1197, allocations: 3.938 kB / 475.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005851/0.1203, allocations: 173.5 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1203, allocations: 51.41 kB / 475.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1204, allocations: 138.1 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1205, allocations: 25.7 kB / 475.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1205, allocations: 96.12 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1206, allocations: 15.75 kB / 476 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1206, allocations: 13.72 kB / 476 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1207, allocations: 330.8 kB / 476.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.1208, allocations: 23.98 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.1208, allocations: 23.98 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.121, allocations: 60.77 kB / 476.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.121, allocations: 0 / 476.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002073/0.1212, allocations: 93.56 kB / 476.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1212, allocations: 10.66 kB / 476.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1213, allocations: 0 / 476.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1213, allocations: 4.25 kB / 476.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.1213, allocations: 15.98 kB / 476.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1214, allocations: 4 kB / 476.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.1214, allocations: 11.98 kB / 476.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1214, allocations: 3.938 kB / 476.6 MB, free: 8.789 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 9.379e-05/0.1215, allocations: 121.8 kB / 476.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.1216, allocations: 3.906 kB / 476.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1218, allocations: 109.9 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1218, allocations: 0 / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1218, allocations: 3.938 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1218, allocations: 0 / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.1223, allocations: 370.4 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1223, allocations: 0 / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.1223, allocations: 15.98 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1223, allocations: 0 / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1224, allocations: 0 / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1224, allocations: 3.938 kB / 477.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1224, allocations: 8 kB / 477.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1226, allocations: 183.4 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1227, allocations: 89.02 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1227, allocations: 0 / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.1228, allocations: 15.92 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1228, allocations: 4 kB / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.1228, allocations: 3.938 kB / 477.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.629e-05/0.1229, allocations: 114.1 kB / 477.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1229, allocations: 0 / 477.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1231, allocations: 19.94 kB / 477.6 MB, free: 7.641 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.001288/0.1244, allocations: 1.015 MB / 478.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1247, allocations: 63.91 kB / 478.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1247, allocations: 0 / 478.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.1248, allocations: 31.97 kB / 478.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1251, allocations: 11.94 kB / 478.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.1266, allocations: 1.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.1269, allocations: 0.7004 MB / 480.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1269, allocations: 16.06 kB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.127, allocations: 23.42 kB / 480.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.127, allocations: 0 / 480.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.1388, allocations: 2.083 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.1391, allocations: 231.8 kB / 483.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.851, allocations: 0 / 483.3 MB, free: 2.117 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches