Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001441/0.001447, allocations: 105.6 kB / 16.27 MB, free: 5.93 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.001551/0.001551, allocations: 187.4 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2181/0.2181, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 73.27 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1089, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003237/0.1122, allocations: 1.543 MB / 442.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006235/0.1129, allocations: 319.5 kB / 442.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.113, allocations: 0 / 442.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1133, allocations: 23.86 kB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1135, allocations: 39.78 kB / 442.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1138, allocations: 71.78 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.114, allocations: 51.91 kB / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1142, allocations: 19.97 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.1142, allocations: 15.88 kB / 442.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.1143, allocations: 19.86 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1143, allocations: 0 / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.1144, allocations: 35.98 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1145, allocations: 15.92 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.1145, allocations: 19.88 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1147, allocations: 79.72 kB / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1147, allocations: 0 / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1147, allocations: 0 / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1147, allocations: 0 / 442.9 MB, free: 4.535 MB / 318.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.0004373/0.1152, allocations: 375.2 kB / 443.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1152, allocations: 11.89 kB / 443.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.1153, allocations: 42.67 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.1153, allocations: 8.844 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1155, allocations: 193.1 kB / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1155, allocations: 384 / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1155, allocations: 4.375 kB / 443.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1157, allocations: 53.61 kB / 443.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1157, allocations: 0 / 443.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1157, allocations: 0 / 443.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1158, allocations: 0 / 443.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1158, allocations: 27.98 kB / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.1162, allocations: 280.8 kB / 443.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1164, allocations: 38.56 kB / 443.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.1165, allocations: 16.86 kB / 443.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1165, allocations: 3.938 kB / 443.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1165, allocations: 38.64 kB / 443.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1165, allocations: 0 / 443.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000566/0.1171, allocations: 137.3 kB / 444.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1171, allocations: 51.41 kB / 444.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1173, allocations: 151.4 kB / 444.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1173, allocations: 29.64 kB / 444.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1173, allocations: 104 kB / 444.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1174, allocations: 23.75 kB / 444.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.1174, allocations: 13.72 kB / 444.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.1175, allocations: 326.8 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.1175, allocations: 15.98 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.1176, allocations: 19.98 kB / 444.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1177, allocations: 44.83 kB / 444.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1177, allocations: 4 kB / 444.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.1179, allocations: 77.58 kB / 444.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1179, allocations: 4 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1179, allocations: 4 kB / 444.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1179, allocations: 0 / 444.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.118, allocations: 15.92 kB / 444.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.118, allocations: 0 / 444.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.118, allocations: 7.938 kB / 444.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1181, allocations: 7.984 kB / 445 MB, free: 2.215 MB / 318.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 7.003e-05/0.1181, allocations: 121.8 kB / 445.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1182, allocations: 7.906 kB / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.1184, allocations: 86.28 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1184, allocations: 8 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1184, allocations: 0 / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1184, allocations: 3.938 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1187, allocations: 342.5 kB / 445.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1188, allocations: 0 / 445.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.1188, allocations: 12.27 kB / 445.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1188, allocations: 0 / 445.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1188, allocations: 7.938 kB / 445.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1188, allocations: 0 / 445.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1188, allocations: 0 / 445.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.119, allocations: 187.3 kB / 445.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.1191, allocations: 81.02 kB / 445.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.1191, allocations: 3.938 kB / 445.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.1191, allocations: 11.98 kB / 445.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1192, allocations: 4 kB / 445.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1192, allocations: 0 / 445.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.372e-05/0.1193, allocations: 129.8 kB / 445.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1193, allocations: 4 kB / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1195, allocations: 12 kB / 446 MB, free: 1.113 MB / 318.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.001133/0.1207, allocations: 1.001 MB / 447 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1209, allocations: 55.89 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1209, allocations: 0 / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.121, allocations: 27.92 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1214, allocations: 29.33 kB / 447.1 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.123, allocations: 1.409 MB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1234, allocations: 0.7006 MB / 449.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.467e-05/0.1234, allocations: 4.25 kB / 449.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.1235, allocations: 23.42 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1235, allocations: 4 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1448, allocations: 2.427 MB / 451.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.07, allocations: 19.25 kB / 451.7 MB, free: 11.36 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches