Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 122.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.002027/0.002027, allocations: 202 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.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2392/0.2392, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003374/0.003374, allocations: 79.88 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3969, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003038/0.3999, allocations: 1.737 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.4016, allocations: 1.018 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.4017, allocations: 0 / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.402, allocations: 58.06 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.4023, allocations: 102.6 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.4026, allocations: 76.2 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.4027, allocations: 104.9 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.4029, allocations: 18.02 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.4029, allocations: 36.83 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.403, allocations: 36.84 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.4031, allocations: 4.562 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.4032, allocations: 40.98 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.4032, allocations: 25.28 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.4033, allocations: 53.41 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.4035, allocations: 140.4 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4035, allocations: 0 / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4036, allocations: 5.344 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.4036, allocations: 0 / 0.5341 GB, free: 10.78 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.000609/0.4042, allocations: 451 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4042, allocations: 9.781 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.4043, allocations: 40.06 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.4043, allocations: 15.72 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.4046, allocations: 216.4 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4047, allocations: 1.75 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.4047, allocations: 13.31 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.4049, allocations: 57.92 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4049, allocations: 1.375 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4049, allocations: 4 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4049, allocations: 1.375 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.405, allocations: 17.61 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.4054, allocations: 304.3 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.4056, allocations: 61.86 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.4056, allocations: 17.11 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4056, allocations: 5.375 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.4058, allocations: 65.14 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4058, allocations: 0 / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000537/0.4064, allocations: 193 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4064, allocations: 52.78 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.4067, allocations: 279.2 kB / 0.5358 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4067, allocations: 26.8 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.4068, allocations: 111.8 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.4069, allocations: 24.14 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.4069, allocations: 28.14 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4071, allocations: 328 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.4071, allocations: 22.83 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.4072, allocations: 38.67 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.4074, allocations: 55.97 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4074, allocations: 0 / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.4076, allocations: 109.5 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4076, allocations: 9.281 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4076, allocations: 0 / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4076, allocations: 1.031 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.4077, allocations: 17.39 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4077, allocations: 1.062 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.4078, allocations: 9.812 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4078, allocations: 2.844 kB / 0.5365 GB, free: 8.48 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.0001754/0.408, allocations: 137.5 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.408, allocations: 15.34 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.4081, allocations: 29.11 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4081, allocations: 1.469 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4081, allocations: 0 / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4081, allocations: 7.875 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.4086, allocations: 408.8 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4086, allocations: 1.062 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.4087, allocations: 7.812 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4087, allocations: 5.062 kB / 0.5371 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4087, allocations: 5.312 kB / 0.5371 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4087, allocations: 5.141 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4087, allocations: 384 / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.409, allocations: 210 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.409, allocations: 93.47 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.4091, allocations: 6.25 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.4092, allocations: 9.188 kB / 0.5374 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.4092, allocations: 11.52 kB / 0.5375 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4092, allocations: 3.812 kB / 0.5375 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.4094, allocations: 203.1 kB / 0.5377 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4094, allocations: 0 / 0.5377 GB, free: 7.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.4097, allocations: 24.91 kB / 0.5377 GB, free: 7.473 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.002111/0.4118, allocations: 1.092 MB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.412, allocations: 54.39 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.412, allocations: 0 / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.4121, allocations: 37.28 kB / 0.5388 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.4125, allocations: 34.48 kB / 0.5389 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.4147, allocations: 1.827 MB / 0.5406 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4151, allocations: 0.7246 MB / 0.5414 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.354e-05/0.4152, allocations: 14.47 kB / 0.5414 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.4153, allocations: 42.98 kB / 0.5414 GB, free: 4.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4153, allocations: 0 / 0.5414 GB, free: 4.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4397, allocations: 3.794 MB / 0.5451 GB, free: 2.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.513, allocations: 18.53 kB / 0.5451 GB, free: 2.254 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches