Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 109.5 kB / 17.77 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 184.8 kB / 18.71 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.09 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 60.83 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00315/0.3615, allocations: 1.921 MB / 0.5204 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.363, allocations: 0.9122 MB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3632, allocations: 1.969 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.3635, allocations: 46.98 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.3638, allocations: 61.59 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.3641, allocations: 118.4 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3643, allocations: 139.5 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3644, allocations: 36.64 kB / 0.5216 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.3645, allocations: 57.05 kB / 0.5217 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.3647, allocations: 44.77 kB / 0.5217 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3647, allocations: 7.562 kB / 0.5217 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.3648, allocations: 48.61 kB / 0.5218 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.3649, allocations: 23.03 kB / 0.5218 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.365, allocations: 50.91 kB / 0.5219 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.3652, allocations: 155.9 kB / 0.522 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3652, allocations: 1.094 kB / 0.522 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3653, allocations: 4 kB / 0.522 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3653, allocations: 0 / 0.522 GB, free: 0.9375 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006227/0.3659, allocations: 476 kB / 0.5225 GB, free: 496 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3659, allocations: 14.03 kB / 0.5225 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.366, allocations: 36 kB / 0.5225 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.366, allocations: 20.06 kB / 0.5225 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.3663, allocations: 227.8 kB / 0.5228 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3664, allocations: 8.078 kB / 0.5228 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.3664, allocations: 13.88 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3667, allocations: 100.8 kB / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3667, allocations: 5.094 kB / 0.5229 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3667, allocations: 1.125 kB / 0.5229 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3667, allocations: 1.75 kB / 0.5229 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3669, allocations: 47.22 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.3675, allocations: 0.5079 MB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.3679, allocations: 87.11 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3681, allocations: 40.56 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3681, allocations: 1.375 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.3683, allocations: 86.56 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3683, allocations: 0 / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004356/0.3688, allocations: 151.2 kB / 0.5238 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3688, allocations: 53.27 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3691, allocations: 191.7 kB / 0.524 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3691, allocations: 30.73 kB / 0.524 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.3692, allocations: 111.3 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.3692, allocations: 34.16 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.3693, allocations: 25.33 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3694, allocations: 327.6 kB / 0.5245 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.3695, allocations: 32.67 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3696, allocations: 66.91 kB / 0.5246 GB, free: 14.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3699, allocations: 104.8 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3699, allocations: 0 / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002553/0.3701, allocations: 133.7 kB / 0.5248 GB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3702, allocations: 5.531 kB / 0.5248 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3702, allocations: 1.25 kB / 0.5248 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3702, allocations: 6.438 kB / 0.5248 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3703, allocations: 33.72 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3703, allocations: 5.547 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.3704, allocations: 7.812 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3704, allocations: 7.516 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.3705, allocations: 129 kB / 0.525 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.3705, allocations: 14.62 kB / 0.525 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.3706, allocations: 19.34 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.3706, allocations: 5.922 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3706, allocations: 5.219 kB / 0.5251 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3706, allocations: 0.75 kB / 0.5251 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3708, allocations: 201.2 kB / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3708, allocations: 0 / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.3709, allocations: 20.84 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3709, allocations: 1.172 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3709, allocations: 5.281 kB / 0.5253 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3709, allocations: 5.344 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.371, allocations: 0.6562 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.3713, allocations: 181.8 kB / 0.5255 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.3714, allocations: 88.95 kB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3714, allocations: 2.922 kB / 0.5255 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.3715, allocations: 13.44 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.3715, allocations: 5.703 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3716, allocations: 3.953 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3717, allocations: 139.9 kB / 0.5257 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3717, allocations: 4.062 kB / 0.5257 GB, free: 13.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000232/0.3719, allocations: 27.88 kB / 0.5257 GB, free: 13.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.3734, allocations: 1.018 MB / 0.5267 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3737, allocations: 85.05 kB / 0.5268 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3737, allocations: 0 / 0.5268 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3738, allocations: 40.28 kB / 0.5268 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3741, allocations: 41.92 kB / 0.5269 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.3762, allocations: 1.724 MB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3765, allocations: 0.7223 MB / 0.5293 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.408e-05/0.3766, allocations: 23.98 kB / 0.5293 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.3767, allocations: 40.61 kB / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3767, allocations: 0 / 0.5293 GB, free: 10.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.3999, allocations: 3.824 MB / 0.5331 GB, free: 9.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.858, allocations: 11.34 kB / 0.5331 GB, free: 9.051 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches