Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001691/0.001691, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002149/0.002149, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2503/0.2503, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3755, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003355/0.3789, allocations: 1.97 MB / 0.5325 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3808, allocations: 1.19 MB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.3809, allocations: 2.219 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.3816, allocations: 205.7 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.3821, allocations: 202.5 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.3825, allocations: 149.6 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.3828, allocations: 279.2 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3829, allocations: 30.05 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.3831, allocations: 111.5 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3832, allocations: 111.7 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.3833, allocations: 9.625 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.3834, allocations: 61.08 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.8e-05/0.3835, allocations: 49.66 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3836, allocations: 98.58 kB / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.3839, allocations: 246.8 kB / 0.5352 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3839, allocations: 0 / 0.5352 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3839, allocations: 0.9375 kB / 0.5352 GB, free: 9.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.384, allocations: 4 kB / 0.5352 GB, free: 9.93 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008271/0.3848, allocations: 0.5458 MB / 0.5357 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3848, allocations: 9.656 kB / 0.5357 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.3849, allocations: 40.77 kB / 0.5357 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.3849, allocations: 27.78 kB / 0.5358 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.3853, allocations: 295.6 kB / 0.536 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3853, allocations: 7 kB / 0.5361 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3854, allocations: 16.59 kB / 0.5361 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3856, allocations: 102.8 kB / 0.5362 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3856, allocations: 0 / 0.5362 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3856, allocations: 1.469 kB / 0.5362 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3856, allocations: 0.9375 kB / 0.5362 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3858, allocations: 40.62 kB / 0.5362 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.3863, allocations: 379.6 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3866, allocations: 119.2 kB / 0.5367 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3867, allocations: 47.98 kB / 0.5367 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3867, allocations: 2.281 kB / 0.5367 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.3869, allocations: 110.7 kB / 0.5368 GB, free: 8.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3869, allocations: 0 / 0.5368 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004673/0.3874, allocations: 181.4 kB / 0.537 GB, free: 8.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.3875, allocations: 107.9 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.3879, allocations: 351 kB / 0.5374 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3879, allocations: 28.33 kB / 0.5375 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.388, allocations: 146.6 kB / 0.5376 GB, free: 7.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.388, allocations: 29.03 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.3881, allocations: 40.52 kB / 0.5377 GB, free: 7.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3882, allocations: 342.3 kB / 0.538 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.3883, allocations: 33.17 kB / 0.538 GB, free: 7.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3884, allocations: 79.42 kB / 0.5381 GB, free: 7.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.3886, allocations: 96.05 kB / 0.5382 GB, free: 7.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3886, allocations: 1.625 kB / 0.5382 GB, free: 7.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002811/0.3889, allocations: 148.3 kB / 0.5383 GB, free: 7.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3889, allocations: 5.625 kB / 0.5384 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.389, allocations: 1.031 kB / 0.5384 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.389, allocations: 2.094 kB / 0.5384 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3891, allocations: 25.33 kB / 0.5384 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3891, allocations: 2.188 kB / 0.5384 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.3892, allocations: 21.09 kB / 0.5384 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3892, allocations: 16.23 kB / 0.5384 GB, free: 7.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001389/0.3894, allocations: 157.2 kB / 0.5386 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3894, allocations: 23.34 kB / 0.5386 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.3895, allocations: 28.05 kB / 0.5386 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3895, allocations: 2.281 kB / 0.5386 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3895, allocations: 0 / 0.5386 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3895, allocations: 5.031 kB / 0.5386 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3898, allocations: 252.4 kB / 0.5389 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3898, allocations: 1.219 kB / 0.5389 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.3898, allocations: 14.72 kB / 0.5389 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3898, allocations: 1.125 kB / 0.5389 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3898, allocations: 5.109 kB / 0.5389 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3898, allocations: 1.125 kB / 0.5389 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3898, allocations: 1.188 kB / 0.5389 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.3902, allocations: 178.9 kB / 0.5391 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.3903, allocations: 111.3 kB / 0.5392 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3903, allocations: 2.25 kB / 0.5392 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3904, allocations: 8.188 kB / 0.5392 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.3904, allocations: 16.2 kB / 0.5392 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3905, allocations: 8.719 kB / 0.5392 GB, free: 6.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.3908, allocations: 261.8 kB / 0.5394 GB, free: 6.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3908, allocations: 0 / 0.5394 GB, free: 6.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3911, allocations: 37.42 kB / 0.5395 GB, free: 6.152 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001473/0.3925, allocations: 1.024 MB / 0.5405 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.3928, allocations: 92.78 kB / 0.5406 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3928, allocations: 1.656 kB / 0.5406 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.393, allocations: 54.28 kB / 0.5406 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.3934, allocations: 78.91 kB / 0.5407 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.3968, allocations: 2.334 MB / 0.543 GB, free: 3.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3971, allocations: 0.7463 MB / 0.5437 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3973, allocations: 40.81 kB / 0.5437 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3974, allocations: 74.34 kB / 0.5438 GB, free: 2.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3974, allocations: 0 / 0.5438 GB, free: 2.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4222, allocations: 5.851 MB / 0.5495 GB, free: 14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.34, allocations: 15.84 kB / 0.5495 GB, free: 13.98 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches