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.001305/0.001305, allocations: 114.2 kB / 17.78 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.00134/0.00134, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002475/0.002476, allocations: 83.84 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.293, allocations: 62.44 MB / 0.5307 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00318/0.2963, allocations: 1.973 MB / 0.5326 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2982, allocations: 1.195 MB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.2983, allocations: 1.375 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.2989, allocations: 197.2 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.2994, allocations: 206.5 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.2998, allocations: 154.2 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.3001, allocations: 270.5 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3002, allocations: 25.59 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3004, allocations: 117.4 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3006, allocations: 109.8 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.3006, allocations: 10.22 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3007, allocations: 60.92 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.3008, allocations: 50.8 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3009, allocations: 94.47 kB / 0.535 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.3013, allocations: 239.2 kB / 0.5353 GB, free: 9.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.3013, allocations: 8.969 kB / 0.5353 GB, free: 9.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3013, allocations: 4 kB / 0.5353 GB, free: 9.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.3013, allocations: 3.938 kB / 0.5353 GB, free: 9.805 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.0008695/0.3022, allocations: 0.5611 MB / 0.5358 GB, free: 9.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3023, allocations: 9.844 kB / 0.5358 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.3023, allocations: 36.03 kB / 0.5359 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.3024, allocations: 24.42 kB / 0.5359 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3028, allocations: 301 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3028, allocations: 11.12 kB / 0.5362 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3028, allocations: 10.69 kB / 0.5362 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.303, allocations: 107.6 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3031, allocations: 0 / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3031, allocations: 1.031 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3031, allocations: 1.125 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3032, allocations: 40.97 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.3038, allocations: 387.5 kB / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.3041, allocations: 111.9 kB / 0.5368 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3042, allocations: 47.52 kB / 0.5369 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3042, allocations: 6.125 kB / 0.5369 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.3045, allocations: 110.2 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.3045, allocations: 0 / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004642/0.3049, allocations: 181.6 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.305, allocations: 113.3 kB / 0.5372 GB, free: 7.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.3054, allocations: 350 kB / 0.5376 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3055, allocations: 27.89 kB / 0.5376 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.3057, allocations: 143.9 kB / 0.5377 GB, free: 7.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.3057, allocations: 36.3 kB / 0.5378 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.3058, allocations: 28.25 kB / 0.5378 GB, free: 7.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3059, allocations: 349.8 kB / 0.5381 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.306, allocations: 33.59 kB / 0.5382 GB, free: 7.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3062, allocations: 79.56 kB / 0.5382 GB, free: 7.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.3064, allocations: 100.5 kB / 0.5383 GB, free: 7.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3064, allocations: 1.75 kB / 0.5383 GB, free: 7.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002948/0.3067, allocations: 144.8 kB / 0.5385 GB, free: 6.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3067, allocations: 5.188 kB / 0.5385 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3067, allocations: 1.781 kB / 0.5385 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3067, allocations: 1.062 kB / 0.5385 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3069, allocations: 21.89 kB / 0.5385 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3069, allocations: 6.375 kB / 0.5385 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.307, allocations: 29.34 kB / 0.5385 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.307, allocations: 4.312 kB / 0.5386 GB, free: 6.891 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.0001431/0.3071, allocations: 147.6 kB / 0.5387 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3072, allocations: 31.62 kB / 0.5387 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.3073, allocations: 28.98 kB / 0.5387 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3073, allocations: 5.906 kB / 0.5388 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3073, allocations: 0 / 0.5388 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3073, allocations: 9.766 kB / 0.5388 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.3076, allocations: 243.5 kB / 0.539 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3076, allocations: 5.219 kB / 0.539 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.3076, allocations: 11.36 kB / 0.539 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3076, allocations: 3.938 kB / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3076, allocations: 2.938 kB / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3076, allocations: 0 / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3076, allocations: 1.344 kB / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.308, allocations: 187.3 kB / 0.5392 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.3081, allocations: 107.5 kB / 0.5393 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3081, allocations: 2.125 kB / 0.5393 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.3082, allocations: 7.828 kB / 0.5393 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3082, allocations: 12.34 kB / 0.5393 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3083, allocations: 13.8 kB / 0.5393 GB, free: 6.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002768/0.3086, allocations: 260.5 kB / 0.5396 GB, free: 6.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3086, allocations: 0 / 0.5396 GB, free: 6.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3088, allocations: 33.94 kB / 0.5396 GB, free: 6.008 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.002047/0.3109, allocations: 1.026 MB / 0.5406 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.3112, allocations: 92.58 kB / 0.5407 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3112, allocations: 4.125 kB / 0.5407 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3113, allocations: 51.17 kB / 0.5408 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3117, allocations: 74.84 kB / 0.5408 GB, free: 5.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.3148, allocations: 2.342 MB / 0.5431 GB, free: 3.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3152, allocations: 0.7497 MB / 0.5439 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3153, allocations: 37.52 kB / 0.5439 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3154, allocations: 73.34 kB / 0.544 GB, free: 2.535 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3154, allocations: 0 / 0.544 GB, free: 2.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.3433, allocations: 5.78 MB / 0.5496 GB, free: 13.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.239, allocations: 6.984 kB / 0.5496 GB, free: 13.88 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