Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",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.0008552/0.0008552, allocations: 173.5 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.123/1.123, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0006718/0.0006718, allocations: 90.3 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.2763/0.2763, allocations: 43.56 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 19.98 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09096, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001583/0.09259, allocations: 1.255 MB / 492.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004502/0.09306, allocations: 287.9 kB / 492.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.0931, allocations: 4 kB / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.09327, allocations: 15.92 kB / 492.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.09339, allocations: 39.84 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.09359, allocations: 59.92 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.09372, allocations: 47.84 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.486e-05/0.09381, allocations: 11.98 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.09387, allocations: 23.84 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.09393, allocations: 19.92 kB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.09395, allocations: 4 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.09401, allocations: 19.94 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.09406, allocations: 15.97 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.0941, allocations: 41.58 kB / 492.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.09421, allocations: 60.14 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09422, allocations: 0 / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.09422, allocations: 0 / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.09423, allocations: 0 / 492.8 MB, free: 8.645 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.0003755/0.09461, allocations: 379.1 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.09466, allocations: 15.97 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.0947, allocations: 34.75 kB / 493.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.09472, allocations: 4.844 kB / 493.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.09488, allocations: 187.9 kB / 493.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.09489, allocations: 4.375 kB / 493.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.09491, allocations: 4.375 kB / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.09503, allocations: 53.56 kB / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.09505, allocations: 0 / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.09506, allocations: 0 / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.09507, allocations: 8 kB / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.09516, allocations: 27.97 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.09545, allocations: 272.8 kB / 493.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.09563, allocations: 54.48 kB / 493.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.09568, allocations: 20.86 kB / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.09571, allocations: 0 / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.09573, allocations: 30.56 kB / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.09574, allocations: 0 / 493.9 MB, free: 7.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005063/0.09625, allocations: 157.6 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.09629, allocations: 51.41 kB / 494.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.09644, allocations: 157.7 kB / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.09646, allocations: 25.7 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.09651, allocations: 100.1 kB / 494.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.09654, allocations: 15.81 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.09654, allocations: 0 / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.09665, allocations: 322.8 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.09673, allocations: 23.98 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.506e-05/0.09679, allocations: 23.98 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.09692, allocations: 48.84 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.09692, allocations: 0 / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001667/0.0971, allocations: 93.69 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.09712, allocations: 8 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.09713, allocations: 4.062 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.09714, allocations: 7.969 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.0972, allocations: 12 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.09722, allocations: 3.984 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.09726, allocations: 11.88 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.09727, allocations: 8 kB / 495 MB, free: 6.293 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 7.234e-05/0.09735, allocations: 113.8 kB / 495.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.09738, allocations: 11.91 kB / 495.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.09759, allocations: 97.89 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.0976, allocations: 4 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.09761, allocations: 4 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.09763, allocations: 7.875 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.09798, allocations: 342.6 kB / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.09799, allocations: 0 / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.09806, allocations: 27.92 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.09806, allocations: 0 / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.09808, allocations: 3.938 kB / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.09808, allocations: 0 / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.09809, allocations: 0 / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.09828, allocations: 183.4 kB / 495.7 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.09833, allocations: 85 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.09835, allocations: 8.125 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.09842, allocations: 8 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.09845, allocations: 3.984 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.09847, allocations: 8 kB / 495.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.09855, allocations: 118.5 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09856, allocations: 0 / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.09877, allocations: 20 kB / 496 MB, free: 5.164 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.001063/0.09984, allocations: 1.004 MB / 497 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1, allocations: 59.91 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1, allocations: 0 / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.1001, allocations: 35.91 kB / 497.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1004, allocations: 19.94 kB / 497.1 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000851/0.1012, allocations: 0.6013 MB / 497.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1015, allocations: 0.6965 MB / 498.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1015, allocations: 23.44 kB / 498.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1015, allocations: 0 / 498.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.584/2.685, allocations: 1.654 MB / 0.4883 GB, free: 1.008 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches