Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",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.0008277/0.0008278, allocations: 175.3 kB / 16.72 MB, free: 5.078 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.209/1.209, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007372/0.0007373, allocations: 86.31 kB / 271.2 MB, free: 8.262 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.3429/0.3429, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 19.98 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002421/0.1202, allocations: 1.405 MB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1216, allocations: 0.7422 MB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.1217, allocations: 3.938 kB / 493.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.122, allocations: 35.89 kB / 493.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1223, allocations: 51.81 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1226, allocations: 71.84 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1228, allocations: 87.69 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1229, allocations: 16.2 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.123, allocations: 35.8 kB / 493.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.1231, allocations: 35.78 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1231, allocations: 4 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1233, allocations: 35.98 kB / 493.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.1233, allocations: 27.91 kB / 493.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.1234, allocations: 57.45 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1236, allocations: 92.08 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1236, allocations: 0 / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1236, allocations: 0 / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1237, allocations: 4 kB / 493.6 MB, free: 7.836 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000621/0.1243, allocations: 395.1 kB / 494 MB, free: 7.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.1243, allocations: 12.03 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1244, allocations: 38.73 kB / 494.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1244, allocations: 12.75 kB / 494.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1247, allocations: 227.8 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1247, allocations: 4.375 kB / 494.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1248, allocations: 3.938 kB / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1249, allocations: 53.67 kB / 494.4 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1249, allocations: 4 kB / 494.4 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.125, allocations: 4 kB / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.125, allocations: 0 / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.125, allocations: 15.98 kB / 494.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1255, allocations: 292.8 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1257, allocations: 62.61 kB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1257, allocations: 16.86 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1258, allocations: 0 / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.126, allocations: 75.38 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.126, allocations: 0 / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005722/0.1266, allocations: 177.1 kB / 495 MB, free: 6.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1266, allocations: 51.41 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1269, allocations: 222.6 kB / 495.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1269, allocations: 33.64 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.127, allocations: 108.1 kB / 495.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.127, allocations: 31.62 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.127, allocations: 7.938 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1272, allocations: 322.8 kB / 495.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.1272, allocations: 23.98 kB / 495.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.1273, allocations: 33.7 kB / 495.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1274, allocations: 49.72 kB / 495.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1275, allocations: 4 kB / 495.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.1277, allocations: 113.4 kB / 496 MB, free: 5.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1277, allocations: 4 kB / 496 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1277, allocations: 0 / 496 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1277, allocations: 4 kB / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.1278, allocations: 15.98 kB / 496 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1278, allocations: 3.938 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1279, allocations: 7.938 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1279, allocations: 4 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001249/0.128, allocations: 137.7 kB / 496.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1281, allocations: 11.84 kB / 496.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1281, allocations: 17.41 kB / 496.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1281, allocations: 0 / 496.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1281, allocations: 0 / 496.2 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1281, allocations: 7.922 kB / 496.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1286, allocations: 399.5 kB / 496.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1286, allocations: 4 kB / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.1287, allocations: 8 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1287, allocations: 7.938 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1287, allocations: 4.359 kB / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1287, allocations: 0 / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1287, allocations: 8 kB / 496.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1289, allocations: 208.2 kB / 496.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.129, allocations: 88.92 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.129, allocations: 7.922 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.1291, allocations: 4 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1292, allocations: 7.984 kB / 496.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1292, allocations: 7.984 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1293, allocations: 172.5 kB / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1294, allocations: 0 / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.1296, allocations: 23.94 kB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001487/0.1311, allocations: 1.09 MB / 498.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.1313, allocations: 55.92 kB / 498.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1313, allocations: 0 / 498.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.1314, allocations: 27.98 kB / 498.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1317, allocations: 31.56 kB / 498.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.133, allocations: 0.8214 MB / 499.1 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1333, allocations: 0.7083 MB / 499.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.1334, allocations: 39.41 kB / 499.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1334, allocations: 0 / 499.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.885/3.018, allocations: 2.37 MB / 0.4905 GB, free: 42.09 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches