Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001465/0.001465, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.11 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3447, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003395/0.3481, allocations: 1.738 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.3506, allocations: 1.626 MB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.3507, allocations: 1.375 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.351, allocations: 39.95 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.3514, allocations: 104.3 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.3516, allocations: 74.94 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.3518, allocations: 106.4 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3519, allocations: 14.86 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.352, allocations: 40.3 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3522, allocations: 46.89 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3522, allocations: 5.5 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3524, allocations: 110.4 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.3524, allocations: 24.33 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.3525, allocations: 36.19 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.3528, allocations: 167 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3528, allocations: 0 / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3528, allocations: 3.938 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.3528, allocations: 0 / 0.5347 GB, free: 10.21 MB / 398.1 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.00057/0.3534, allocations: 426.2 kB / 0.5351 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3534, allocations: 9.969 kB / 0.5351 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.3535, allocations: 35.81 kB / 0.5352 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.3535, allocations: 17.31 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3538, allocations: 219.7 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3538, allocations: 2.062 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3539, allocations: 2.25 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3541, allocations: 70.11 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3541, allocations: 0 / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3541, allocations: 1.281 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3541, allocations: 0 / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.3542, allocations: 22.61 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3546, allocations: 293.4 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3547, allocations: 53.88 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.3548, allocations: 26.12 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3548, allocations: 5.125 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.355, allocations: 61.05 kB / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.767e-06/0.355, allocations: 0 / 0.5359 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.3556, allocations: 185.8 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.3557, allocations: 82.23 kB / 0.5362 GB, free: 8.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3559, allocations: 163 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3559, allocations: 31.08 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.356, allocations: 100.2 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.356, allocations: 27.88 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.3561, allocations: 28.58 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3562, allocations: 321.6 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.3563, allocations: 15 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.3564, allocations: 52.19 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3565, allocations: 67.91 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3565, allocations: 0 / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.3567, allocations: 99.3 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3568, allocations: 5.219 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3568, allocations: 5.328 kB / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3568, allocations: 1.406 kB / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.3569, allocations: 16.25 kB / 0.5371 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3569, allocations: 1.594 kB / 0.5371 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.3569, allocations: 5.531 kB / 0.5371 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.357, allocations: 3.094 kB / 0.5371 GB, free: 7.957 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.3571, allocations: 132 kB / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3571, allocations: 9.047 kB / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.3572, allocations: 12.84 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3572, allocations: 5.219 kB / 0.5372 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3572, allocations: 3.984 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3572, allocations: 1.188 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.3577, allocations: 400.4 kB / 0.5376 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3577, allocations: 3.938 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.3578, allocations: 7.062 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3578, allocations: 1.188 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3578, allocations: 2.125 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3578, allocations: 1.125 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3578, allocations: 0 / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.3581, allocations: 213 kB / 0.5378 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.3582, allocations: 87.09 kB / 0.5379 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3582, allocations: 6.156 kB / 0.5379 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.3583, allocations: 2.094 kB / 0.5379 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.3583, allocations: 7.297 kB / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3584, allocations: 4.156 kB / 0.5379 GB, free: 7.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3585, allocations: 127 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3585, allocations: 0 / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000305/0.3588, allocations: 54.98 kB / 0.5381 GB, free: 6.996 MB / 398.1 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 (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.002362/0.3612, allocations: 1.184 MB / 0.5393 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.3614, allocations: 58.97 kB / 0.5393 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3614, allocations: 0 / 0.5393 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.3615, allocations: 29.3 kB / 0.5393 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3618, allocations: 35.8 kB / 0.5394 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3636, allocations: 1.599 MB / 0.5409 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.364, allocations: 0.6954 MB / 0.5416 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.364, allocations: 15.16 kB / 0.5416 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.3641, allocations: 45.66 kB / 0.5417 GB, free: 3.863 MB / 398.1 MB Notification: Performance of SimCode: time 2.335e-06/0.3641, allocations: 0 / 0.5417 GB, free: 3.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3916, allocations: 4.018 MB / 0.5456 GB, free: 1.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.555, allocations: 9.609 kB / 0.5456 GB, free: 1.625 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches