Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 174.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007295/0.0007293, allocations: 85.28 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2893/0.2893, allocations: 43.57 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.0985, allocations: 58.86 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.001631/0.1002, allocations: 1.255 MB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004854/0.1007, allocations: 307.8 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.1007, allocations: 7.938 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.101, allocations: 107.8 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1011, allocations: 59.86 kB / 492.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1014, allocations: 83.81 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1015, allocations: 59.83 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.1016, allocations: 15.98 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.1016, allocations: 35.89 kB / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.1017, allocations: 47.88 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1018, allocations: 0 / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.139e-05/0.1018, allocations: 35.92 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.1019, allocations: 19.92 kB / 493 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.1019, allocations: 45.52 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.102, allocations: 72.17 kB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1021, allocations: 4 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1021, allocations: 0 / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1021, allocations: 0 / 493.1 MB, free: 8.383 MB / 378.7 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.0003996/0.1025, allocations: 410.9 kB / 493.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1025, allocations: 8.031 kB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1026, allocations: 30.75 kB / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.1026, allocations: 12.75 kB / 493.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1028, allocations: 200.1 kB / 493.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1028, allocations: 8.375 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1028, allocations: 384 / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1029, allocations: 53.62 kB / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1029, allocations: 0 / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1029, allocations: 0 / 493.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.103, allocations: 4 kB / 493.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.1031, allocations: 31.91 kB / 493.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1034, allocations: 304.8 kB / 494.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1036, allocations: 42.56 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1037, allocations: 20.94 kB / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1037, allocations: 4 kB / 494.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.1037, allocations: 34.5 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1037, allocations: 0 / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005346/0.1043, allocations: 173.5 kB / 494.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1043, allocations: 55.39 kB / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1045, allocations: 238.7 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1045, allocations: 25.7 kB / 494.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1046, allocations: 108 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.1046, allocations: 19.75 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.1046, allocations: 3.938 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1047, allocations: 330.8 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.1048, allocations: 23.98 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.1049, allocations: 27.97 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.105, allocations: 65.02 kB / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1051, allocations: 0 / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002034/0.1053, allocations: 97.52 kB / 495.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1053, allocations: 7.281 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1053, allocations: 0 / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1053, allocations: 7.938 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.1054, allocations: 15.98 kB / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1054, allocations: 0 / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1054, allocations: 15.97 kB / 495.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1055, allocations: 3.938 kB / 495.4 MB, free: 5.82 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.013e-05/0.1055, allocations: 129.8 kB / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1056, allocations: 15.81 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1058, allocations: 110.6 kB / 495.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1058, allocations: 0 / 495.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1058, allocations: 0 / 495.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.1058, allocations: 3.984 kB / 495.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.1062, allocations: 374.5 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1063, allocations: 0 / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.1063, allocations: 15.98 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1063, allocations: 0 / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1063, allocations: 0 / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1063, allocations: 7.875 kB / 496 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1063, allocations: 4 kB / 496.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1066, allocations: 195.5 kB / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.1066, allocations: 89.02 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1066, allocations: 0 / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.1067, allocations: 19.92 kB / 496.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1068, allocations: 0 / 496.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1068, allocations: 4 kB / 496.4 MB, free: 4.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1069, allocations: 188.3 kB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1069, allocations: 0 / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002094/0.1071, allocations: 12 kB / 496.5 MB, free: 4.562 MB / 378.7 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 (linear and non-linear blocks): 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.1083, allocations: 1.035 MB / 497.6 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.1084, allocations: 67.95 kB / 497.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1085, allocations: 0 / 497.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.65e-05/0.1085, allocations: 31.92 kB / 497.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1088, allocations: 19.92 kB / 497.7 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.11, allocations: 0.8099 MB / 498.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1103, allocations: 0.7082 MB / 499.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.1104, allocations: 39.36 kB / 499.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1104, allocations: 0 / 499.3 MB, free: 1.797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.757/2.868, allocations: 2.067 MB / 0.4896 GB, free: 42.38 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches