Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 75.88 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3397, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003412/0.3431, allocations: 1.694 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.3449, allocations: 0.9902 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.345, allocations: 5.188 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.3454, allocations: 87.16 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3458, allocations: 124.6 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.346, allocations: 65.66 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.3462, allocations: 116.4 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.3462, allocations: 9.719 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.3463, allocations: 48.41 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3465, allocations: 57.94 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3465, allocations: 4.125 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.3466, allocations: 28.62 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.3466, allocations: 24.16 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.3467, allocations: 43.92 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.3469, allocations: 105.7 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3469, allocations: 5.375 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3469, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.347, allocations: 0 / 0.534 GB, free: 10.81 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006806/0.3476, allocations: 420.9 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3477, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.3477, allocations: 36.12 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3478, allocations: 22.27 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.3481, allocations: 208.6 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3481, allocations: 5.734 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3481, allocations: 5.312 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3482, allocations: 51.25 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3483, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3483, allocations: 9.297 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3483, allocations: 4 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.3484, allocations: 12.25 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.3486, allocations: 184.8 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.3488, allocations: 51.12 kB / 0.535 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.3488, allocations: 21.09 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3488, allocations: 5.375 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.349, allocations: 67.7 kB / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.349, allocations: 0 / 0.5351 GB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002754/0.3493, allocations: 96.08 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3494, allocations: 52.78 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.3497, allocations: 221.6 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3497, allocations: 27.2 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.3498, allocations: 112.7 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3498, allocations: 19.52 kB / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.3499, allocations: 21.95 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.35, allocations: 322.4 kB / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.3501, allocations: 12.28 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.3501, allocations: 32.27 kB / 0.536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.995e-05/0.3502, allocations: 46.14 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3503, allocations: 5.094 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.3504, allocations: 87.84 kB / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3505, allocations: 5.438 kB / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3505, allocations: 1.25 kB / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3505, allocations: 0 / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.3506, allocations: 9.562 kB / 0.5361 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3506, allocations: 5.109 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.3506, allocations: 6.188 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3506, allocations: 6.25 kB / 0.5361 GB, free: 8.758 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 (7): * Single equations (assignments): 7 * 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.0001113/0.3507, allocations: 136 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3508, allocations: 13.34 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.3508, allocations: 14.66 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3508, allocations: 5.078 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3508, allocations: 0 / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3508, allocations: 1.156 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.351, allocations: 190.9 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.351, allocations: 0 / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.3511, allocations: 7.375 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3511, allocations: 1.188 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3511, allocations: 5.016 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3511, allocations: 0 / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3511, allocations: 1.125 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.3513, allocations: 114.2 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.3514, allocations: 91.2 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3514, allocations: 1.094 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.3514, allocations: 6.281 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.3515, allocations: 2.156 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3515, allocations: 6.328 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3516, allocations: 164.1 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3517, allocations: 0 / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3519, allocations: 25.52 kB / 0.5369 GB, free: 8.043 MB / 398.1 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 (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.001928/0.3538, allocations: 0.9464 MB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.354, allocations: 47.81 kB / 0.5378 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.354, allocations: 0 / 0.5378 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.3541, allocations: 15.25 kB / 0.5379 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3544, allocations: 29.28 kB / 0.5379 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3563, allocations: 1.565 MB / 0.5394 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3567, allocations: 0.7058 MB / 0.5401 GB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.885e-05/0.3567, allocations: 15.94 kB / 0.5401 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.3568, allocations: 33.3 kB / 0.5401 GB, free: 5.152 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3568, allocations: 1.031 kB / 0.5401 GB, free: 5.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.3826, allocations: 3.268 MB / 0.5433 GB, free: 3.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.34, allocations: 2.156 kB / 0.5433 GB, free: 3.379 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches