Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 201.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.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 79.88 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003376/0.3578, allocations: 1.731 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.3598, allocations: 1.02 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.3599, allocations: 1.156 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.3602, allocations: 44.33 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.3605, allocations: 95.62 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.3607, allocations: 83.52 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.361, allocations: 104.5 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.3611, allocations: 10.38 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.3612, allocations: 39.77 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.3613, allocations: 38.17 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3613, allocations: 4.062 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3614, allocations: 39.48 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.3615, allocations: 18.64 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.3616, allocations: 44.61 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3618, allocations: 120.7 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3618, allocations: 1.375 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3618, allocations: 3.938 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3618, allocations: 0 / 0.534 GB, free: 10.8 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.0005942/0.3624, allocations: 424.8 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3625, allocations: 9.625 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.3625, allocations: 32.12 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.3626, allocations: 14.38 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3629, allocations: 216 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3629, allocations: 5.734 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3629, allocations: 10.62 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3631, allocations: 54.05 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3631, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3631, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3631, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/0.3632, allocations: 22.97 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.3636, allocations: 298.8 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3637, allocations: 57.86 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.3638, allocations: 17.11 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3638, allocations: 5.375 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.364, allocations: 65.14 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.364, allocations: 0 / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004935/0.3645, allocations: 182.3 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3646, allocations: 52.78 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3648, allocations: 197.4 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3648, allocations: 29.7 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.3649, allocations: 101.6 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3649, allocations: 27.91 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.365, allocations: 24.59 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.3652, allocations: 325.6 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.3652, allocations: 22.92 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.3653, allocations: 35.36 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3654, allocations: 55.16 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3654, allocations: 5.219 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002735/0.3657, allocations: 106.8 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3657, allocations: 9.438 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3657, allocations: 1.25 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3658, allocations: 1.25 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.3659, allocations: 21.05 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3659, allocations: 0.9062 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.3659, allocations: 9.406 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3659, allocations: 2.688 kB / 0.5364 GB, free: 8.582 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.0001179/0.3661, allocations: 135.1 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3661, allocations: 13.75 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.3661, allocations: 14.41 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3661, allocations: 1.438 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3662, allocations: 0 / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3662, allocations: 5.344 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.3667, allocations: 398.4 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3667, allocations: 4.031 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.3667, allocations: 7.906 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3667, allocations: 5.219 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3667, allocations: 1.094 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3668, allocations: 1.219 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3668, allocations: 5.109 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.367, allocations: 199.8 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.3671, allocations: 92.39 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3671, allocations: 6.188 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.3672, allocations: 6.156 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3672, allocations: 7.859 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3672, allocations: 3.344 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3674, allocations: 148.6 kB / 0.5374 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3674, allocations: 0 / 0.5374 GB, free: 7.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3677, allocations: 24.09 kB / 0.5374 GB, free: 7.621 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.002211/0.3699, allocations: 1.105 MB / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.3701, allocations: 53.48 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3701, allocations: 5.406 kB / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.3702, allocations: 24.45 kB / 0.5385 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.3706, allocations: 38.02 kB / 0.5386 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3728, allocations: 1.65 MB / 0.5402 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.3732, allocations: 0.7056 MB / 0.5409 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.3733, allocations: 18.11 kB / 0.5409 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.3734, allocations: 35.48 kB / 0.5409 GB, free: 4.516 MB / 398.1 MB Notification: Performance of SimCode: time 2.705e-06/0.3734, allocations: 4 kB / 0.5409 GB, free: 4.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.3996, allocations: 3.45 MB / 0.5443 GB, free: 2.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.49, allocations: 11.91 kB / 0.5443 GB, free: 2.637 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches