Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009487/0.0009488, allocations: 199.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008114/0.0008112, allocations: 101.6 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2857/0.2857, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.0004041, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 62.96 MB / 0.516 GB, free: 37.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001817/0.35, allocations: 1.432 MB / 0.5174 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3513, allocations: 0.9482 MB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3515, allocations: 3 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.3518, allocations: 61.47 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.3521, allocations: 75.64 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.3524, allocations: 98.67 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3526, allocations: 92.27 kB / 0.5186 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.3527, allocations: 13.08 kB / 0.5186 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.3528, allocations: 40.25 kB / 0.5187 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.3529, allocations: 37.58 kB / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3529, allocations: 0 / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.353, allocations: 38.02 kB / 0.5187 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.353, allocations: 30.33 kB / 0.5188 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.3531, allocations: 61.97 kB / 0.5188 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3533, allocations: 104.7 kB / 0.5189 GB, free: 35.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3533, allocations: 0 / 0.5189 GB, free: 35.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3533, allocations: 0 / 0.5189 GB, free: 35.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.3533, allocations: 4 kB / 0.5189 GB, free: 35.34 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.0004688/0.3538, allocations: 428.9 kB / 0.5193 GB, free: 34.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3538, allocations: 8.188 kB / 0.5193 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.3539, allocations: 37.19 kB / 0.5194 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.3539, allocations: 14.59 kB / 0.5194 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3541, allocations: 221.8 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3542, allocations: 3.609 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3542, allocations: 6.938 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3543, allocations: 56.11 kB / 0.5197 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3544, allocations: 3.938 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3544, allocations: 0 / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3544, allocations: 2.969 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.3545, allocations: 19.64 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.3548, allocations: 297.3 kB / 0.52 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.355, allocations: 63.28 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.355, allocations: 20.77 kB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3551, allocations: 3.938 kB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.3552, allocations: 72.73 kB / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3552, allocations: 0 / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000522/0.3558, allocations: 176.5 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3558, allocations: 58.28 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.356, allocations: 274 kB / 0.5206 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3561, allocations: 29.7 kB / 0.5206 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.3561, allocations: 112 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.3562, allocations: 25.77 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.3562, allocations: 0 / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.3562, allocations: 327.8 kB / 0.5211 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.3563, allocations: 19.78 kB / 0.5211 GB, free: 33.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.3564, allocations: 40.73 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.3565, allocations: 65.98 kB / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3565, allocations: 0 / 0.5212 GB, free: 33.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.3566, allocations: 108.1 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3567, allocations: 5.094 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3567, allocations: 0 / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3567, allocations: 7.062 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.3568, allocations: 14.05 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3568, allocations: 2.969 kB / 0.5213 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.3569, allocations: 10.75 kB / 0.5213 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3569, allocations: 2.75 kB / 0.5213 GB, free: 33.24 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 8.463e-05/0.357, allocations: 131.5 kB / 0.5215 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.357, allocations: 17.56 kB / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.357, allocations: 19.3 kB / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.357, allocations: 4 kB / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.357, allocations: 0 / 0.5215 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3571, allocations: 7.406 kB / 0.5215 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.3574, allocations: 411.7 kB / 0.5219 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3574, allocations: 0 / 0.5219 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.3575, allocations: 11.88 kB / 0.5219 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3575, allocations: 3.938 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3575, allocations: 10.2 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3575, allocations: 32 / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3575, allocations: 6.969 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.3577, allocations: 194.8 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3578, allocations: 97.5 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3578, allocations: 3.938 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.3579, allocations: 5.734 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.3579, allocations: 13.16 kB / 0.5222 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.3579, allocations: 9.688 kB / 0.5223 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.3581, allocations: 197.7 kB / 0.5224 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 0 / 0.5224 GB, free: 32.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.3583, allocations: 28.89 kB / 0.5225 GB, free: 32.33 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.00127/0.3596, allocations: 1.102 MB / 0.5235 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.3598, allocations: 58.03 kB / 0.5236 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3598, allocations: 4.062 kB / 0.5236 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/0.3599, allocations: 32.89 kB / 0.5236 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3602, allocations: 27.5 kB / 0.5237 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.3613, allocations: 0.918 MB / 0.5246 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.3615, allocations: 0.7239 MB / 0.5253 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.3615, allocations: 42.91 kB / 0.5253 GB, free: 30.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3615, allocations: 0 / 0.5253 GB, free: 30.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.969/3.331, allocations: 2.626 MB / 0.5279 GB, free: 29.85 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches