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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 198 kB / 18.73 MB, free: 4.324 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 / 246.9 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.2493/0.2493, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 79.88 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3885, allocations: 62.43 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003895/0.3924, allocations: 1.981 MB / 0.533 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.3946, allocations: 1.186 MB / 0.5341 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3947, allocations: 2.75 kB / 0.5341 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.3954, allocations: 205.3 kB / 0.5343 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.3959, allocations: 203.5 kB / 0.5345 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.3963, allocations: 161 kB / 0.5347 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.3967, allocations: 272 kB / 0.535 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3968, allocations: 29.06 kB / 0.535 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.397, allocations: 112.9 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.3971, allocations: 114.1 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.3972, allocations: 10.78 kB / 0.5352 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3973, allocations: 52.17 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3974, allocations: 58.66 kB / 0.5353 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.3976, allocations: 86.92 kB / 0.5354 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.3979, allocations: 246.1 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3979, allocations: 0 / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3979, allocations: 5.062 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.398, allocations: 0 / 0.5356 GB, free: 10.37 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.000868/0.3988, allocations: 0.5568 MB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3989, allocations: 9.844 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.399, allocations: 27.31 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.3993, allocations: 292.5 kB / 0.5365 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3994, allocations: 7.062 kB / 0.5365 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.3994, allocations: 8.25 kB / 0.5365 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.3996, allocations: 110.7 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3997, allocations: 0 / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3997, allocations: 5.062 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3997, allocations: 1.438 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3998, allocations: 36.84 kB / 0.5367 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.4003, allocations: 388 kB / 0.537 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.4007, allocations: 118.6 kB / 0.5371 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4008, allocations: 44.14 kB / 0.5372 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.4008, allocations: 2.062 kB / 0.5372 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.4011, allocations: 118.2 kB / 0.5373 GB, free: 8.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.4011, allocations: 1.125 kB / 0.5373 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004783/0.4016, allocations: 176.5 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.4016, allocations: 105.1 kB / 0.5376 GB, free: 8.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.402, allocations: 350.5 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.4021, allocations: 35.77 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4022, allocations: 139.2 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.4023, allocations: 32.73 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.4023, allocations: 32.41 kB / 0.5381 GB, free: 8.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4025, allocations: 338.3 kB / 0.5384 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.472e-05/0.4026, allocations: 32.67 kB / 0.5385 GB, free: 7.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4027, allocations: 85.84 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.4029, allocations: 96.78 kB / 0.5387 GB, free: 7.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4029, allocations: 1.062 kB / 0.5387 GB, free: 7.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003105/0.4032, allocations: 141.4 kB / 0.5388 GB, free: 7.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4032, allocations: 9.938 kB / 0.5388 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4033, allocations: 1.094 kB / 0.5388 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4033, allocations: 1.188 kB / 0.5388 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4034, allocations: 33.92 kB / 0.5388 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4034, allocations: 2.188 kB / 0.5388 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.4035, allocations: 16.95 kB / 0.5389 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4035, allocations: 8.125 kB / 0.5389 GB, free: 7.52 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.0001394/0.4037, allocations: 152.9 kB / 0.539 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.4037, allocations: 28.16 kB / 0.539 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.4038, allocations: 27.39 kB / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4038, allocations: 1.625 kB / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4038, allocations: 1.312 kB / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4038, allocations: 0 / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.4041, allocations: 260.5 kB / 0.5393 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4041, allocations: 1.594 kB / 0.5393 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.4041, allocations: 9.812 kB / 0.5393 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.4041, allocations: 5.234 kB / 0.5393 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4041, allocations: 7.031 kB / 0.5393 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4042, allocations: 7.938 kB / 0.5393 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4042, allocations: 5.328 kB / 0.5393 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.4045, allocations: 178.1 kB / 0.5395 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.4046, allocations: 104.1 kB / 0.5396 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.4046, allocations: 5.406 kB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.4047, allocations: 5.25 kB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.4047, allocations: 12.73 kB / 0.5396 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.4048, allocations: 16.39 kB / 0.5397 GB, free: 6.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002722/0.405, allocations: 253.4 kB / 0.5399 GB, free: 6.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4051, allocations: 3.938 kB / 0.5399 GB, free: 6.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.4053, allocations: 41.45 kB / 0.5399 GB, free: 6.625 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.0009531/0.4063, allocations: 406.9 kB / 0.5403 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.4066, allocations: 100.1 kB / 0.5404 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4066, allocations: 0 / 0.5404 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4067, allocations: 47.23 kB / 0.5405 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4071, allocations: 75.33 kB / 0.5405 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006577/0.4078, allocations: 391.5 kB / 0.5409 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4081, allocations: 0.7503 MB / 0.5416 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.19e-05/0.4082, allocations: 28.59 kB / 0.5417 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.4083, allocations: 26.11 kB / 0.5417 GB, free: 5.297 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4083, allocations: 0 / 0.5417 GB, free: 5.297 MB / 398.1 MB Notification: Performance of Templates: time 0.006723/0.415, allocations: 3.032 MB / 0.5447 GB, free: 3.637 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches