Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001154/0.001159, allocations: 102.7 kB / 15.98 MB, free: 6.336 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.001313/0.001313, allocations: 194 kB / 16.9 MB, free: 6.188 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.355/1.355, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3404/0.3404, allocations: 43.49 MB / 313.6 MB, free: 8.543 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.001324/0.001324, allocations: 63.91 kB / 382.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1001, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002489/0.1026, allocations: 1.606 MB / 441.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.1031, allocations: 327.4 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.1032, allocations: 0 / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1033, allocations: 23.91 kB / 442.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1035, allocations: 31.91 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1037, allocations: 79.84 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.1038, allocations: 51.91 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.1039, allocations: 24.23 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.322e-05/0.1039, allocations: 23.81 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.104, allocations: 15.92 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.104, allocations: 4 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.104, allocations: 39.92 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.1041, allocations: 11.92 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.1041, allocations: 19.88 kB / 442.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1042, allocations: 75.73 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.1042, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1042, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1042, allocations: 7.984 kB / 442.4 MB, free: 12.29 MB / 382.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.0003148/0.1046, allocations: 379.1 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1046, allocations: 15.89 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.1046, allocations: 30.75 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.1047, allocations: 8.844 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1048, allocations: 188.2 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.1048, allocations: 384 / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1048, allocations: 384 / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1049, allocations: 61.62 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.105, allocations: 3.984 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.105, allocations: 3.984 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-06/0.105, allocations: 0 / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.1051, allocations: 27.92 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.1053, allocations: 276.8 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1055, allocations: 46.56 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.1056, allocations: 20.94 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1056, allocations: 0 / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.1056, allocations: 34.5 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.1056, allocations: 0 / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004462/0.1061, allocations: 153.3 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1061, allocations: 51.41 kB / 443.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1062, allocations: 141.9 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.1062, allocations: 25.7 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.1063, allocations: 96.12 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.1063, allocations: 19.66 kB / 444 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1063, allocations: 17.72 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.1064, allocations: 326.8 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.1065, allocations: 23.92 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.1065, allocations: 19.98 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1067, allocations: 56.81 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1067, allocations: 0 / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00016/0.1068, allocations: 85.86 kB / 444.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1069, allocations: 12 kB / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1069, allocations: 0 / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.1069, allocations: 0 / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.1069, allocations: 11.98 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.107, allocations: 3.938 kB / 444.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.107, allocations: 7.906 kB / 444.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.107, allocations: 7.938 kB / 444.5 MB, free: 9.945 MB / 382.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 6.487e-05/0.1071, allocations: 117.8 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1071, allocations: 8 kB / 444.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.1073, allocations: 93.91 kB / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1073, allocations: 0 / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1073, allocations: 3.984 kB / 444.8 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1073, allocations: 4 kB / 444.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.1077, allocations: 346.4 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1077, allocations: 8 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.1078, allocations: 11.98 kB / 445.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1078, allocations: 0 / 445.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1078, allocations: 0 / 445.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.1078, allocations: 3.938 kB / 445.1 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1078, allocations: 7.938 kB / 445.1 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.108, allocations: 175.4 kB / 445.3 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.108, allocations: 89.3 kB / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.108, allocations: 4 kB / 445.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.1081, allocations: 11.92 kB / 445.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1081, allocations: 0 / 445.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1082, allocations: 0 / 445.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.628e-05/0.1082, allocations: 111.2 kB / 445.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1082, allocations: 4 kB / 445.5 MB, free: 8.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1085, allocations: 12 kB / 445.5 MB, free: 8.844 MB / 382.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.001118/0.1096, allocations: 1.029 MB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1098, allocations: 51.97 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1098, allocations: 0 / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.1098, allocations: 39.91 kB / 446.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1101, allocations: 23.8 kB / 446.7 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1114, allocations: 1.437 MB / 448.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.1116, allocations: 0.6924 MB / 448.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.1116, allocations: 11.98 kB / 448.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1117, allocations: 19.44 kB / 448.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1117, allocations: 0 / 448.8 MB, free: 5.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4833/0.595, allocations: 2.288 MB / 451.1 MB, free: 3.141 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.5952, allocations: 250.5 kB / 451.4 MB, free: 2.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.739, allocations: 0 / 451.4 MB, free: 2.867 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches