Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",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.0008558/0.0008554, allocations: 175.1 kB / 16.72 MB, free: 4.957 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.252/1.252, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0006649/0.0006647, allocations: 82.42 kB / 271.2 MB, free: 8.238 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.3003/0.3003, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.0897, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001807/0.09153, allocations: 1.365 MB / 492.3 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.09259, allocations: 0.7356 MB / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.09268, allocations: 0 / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.09294, allocations: 43.86 kB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.09312, allocations: 55.81 kB / 493.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.09336, allocations: 67.86 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.0935, allocations: 87.69 kB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.09356, allocations: 7.984 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.09364, allocations: 39.78 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.09372, allocations: 23.86 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.09374, allocations: 4 kB / 493.4 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.09382, allocations: 27.97 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.09388, allocations: 27.92 kB / 493.4 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.09395, allocations: 61.44 kB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.09409, allocations: 88.03 kB / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.0941, allocations: 0 / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.0941, allocations: 0 / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.09411, allocations: 0 / 493.6 MB, free: 8.137 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004445/0.09456, allocations: 414.9 kB / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.09461, allocations: 12.03 kB / 494 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.09464, allocations: 30.75 kB / 494 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.09469, allocations: 20.75 kB / 494 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.0949, allocations: 227.7 kB / 494.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.09492, allocations: 384 / 494.2 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.09494, allocations: 3.938 kB / 494.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.09507, allocations: 49.67 kB / 494.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.09508, allocations: 0 / 494.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.0951, allocations: 4 kB / 494.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.09511, allocations: 0 / 494.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.09517, allocations: 15.92 kB / 494.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.09537, allocations: 193.7 kB / 494.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.09552, allocations: 58.48 kB / 494.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.09557, allocations: 16.86 kB / 494.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.0956, allocations: 0 / 494.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.09577, allocations: 75.27 kB / 494.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.09578, allocations: 0 / 494.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002469/0.09603, allocations: 101.7 kB / 494.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.09607, allocations: 51.41 kB / 494.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.0963, allocations: 255.7 kB / 495 MB, free: 6.434 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.09632, allocations: 25.7 kB / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.09638, allocations: 116.1 kB / 495.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.09641, allocations: 3.906 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.09642, allocations: 4 kB / 495.2 MB, free: 6.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.09653, allocations: 330.8 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.09658, allocations: 11.98 kB / 495.5 MB, free: 5.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.09664, allocations: 33.64 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.09673, allocations: 41.78 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.09674, allocations: 3.938 kB / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001484/0.0969, allocations: 93.42 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.09692, allocations: 4 kB / 495.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.09693, allocations: 0 / 495.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.09694, allocations: 4 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.09702, allocations: 8 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.09703, allocations: 0 / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.09709, allocations: 19.83 kB / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.0971, allocations: 0 / 495.7 MB, free: 5.711 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 (7): * Single equations (assignments): 7 * 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.2e-05/0.0972, allocations: 137.6 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.09722, allocations: 15.94 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.09726, allocations: 13 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.09727, allocations: 4 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.09728, allocations: 3.938 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.09729, allocations: 3.984 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.09742, allocations: 197.6 kB / 496.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.09743, allocations: 0 / 496.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.09746, allocations: 7.984 kB / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.09747, allocations: 0 / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.09748, allocations: 0 / 496.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.09749, allocations: 7.938 kB / 496.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.09749, allocations: 4 kB / 496.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.09766, allocations: 112.9 kB / 496.2 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.09772, allocations: 92.91 kB / 496.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.09775, allocations: 0 / 496.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.0978, allocations: 16.11 kB / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.09783, allocations: 0 / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.09785, allocations: 8 kB / 496.3 MB, free: 5.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.098, allocations: 199 kB / 496.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09801, allocations: 7.875 kB / 496.5 MB, free: 4.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.09822, allocations: 20 kB / 496.6 MB, free: 4.781 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001064/0.09929, allocations: 0.9361 MB / 497.5 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.09945, allocations: 47.92 kB / 497.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.09946, allocations: 0 / 497.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.299e-05/0.09952, allocations: 19.98 kB / 497.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.09977, allocations: 27.86 kB / 497.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1009, allocations: 0.8484 MB / 498.4 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.1011, allocations: 0.7199 MB / 499.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.1012, allocations: 39.42 kB / 499.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1012, allocations: 0 / 499.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.857/2.958, allocations: 2.325 MB / 0.4898 GB, free: 41.95 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches