Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, 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.001339/0.001339, 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.394/1.394, 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.2207/0.2207, allocations: 46.11 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 62.46 MB / 0.5307 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003078/0.3005, allocations: 1.834 MB / 0.5325 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.3031, allocations: 1.684 MB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.3032, allocations: 4.875 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.3035, allocations: 58.59 kB / 0.5342 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.3038, allocations: 138.1 kB / 0.5343 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.3041, allocations: 105.7 kB / 0.5344 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.3044, allocations: 203.1 kB / 0.5346 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.3045, allocations: 9.938 kB / 0.5346 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3046, allocations: 88.61 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.3048, allocations: 75.12 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.3049, allocations: 13.62 kB / 0.5348 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3051, allocations: 119.1 kB / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.3052, allocations: 40.08 kB / 0.5349 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.256e-05/0.3053, allocations: 62.67 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.3057, allocations: 226.1 kB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3057, allocations: 4 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3057, allocations: 0.9688 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3057, allocations: 0 / 0.5352 GB, free: 10.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008118/0.3065, allocations: 0.4947 MB / 0.5357 GB, free: 9.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3066, allocations: 9.594 kB / 0.5357 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.3066, allocations: 36 kB / 0.5358 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.3067, allocations: 17.47 kB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.3071, allocations: 261.9 kB / 0.536 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3071, allocations: 3.031 kB / 0.536 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3071, allocations: 6.406 kB / 0.536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.3074, allocations: 104 kB / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3074, allocations: 0 / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3074, allocations: 5.188 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3074, allocations: 1.312 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3076, allocations: 31.38 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.3078, allocations: 230.2 kB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.3081, allocations: 109.6 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.3082, allocations: 37.73 kB / 0.5365 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3083, allocations: 2.281 kB / 0.5365 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.3086, allocations: 111.5 kB / 0.5366 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3086, allocations: 0 / 0.5366 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004939/0.3091, allocations: 172.5 kB / 0.5368 GB, free: 8.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.3092, allocations: 133.6 kB / 0.5369 GB, free: 8.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.3095, allocations: 239.5 kB / 0.5372 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3096, allocations: 27.73 kB / 0.5372 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3097, allocations: 123.2 kB / 0.5373 GB, free: 8.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.3098, allocations: 28.55 kB / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.3098, allocations: 27.66 kB / 0.5373 GB, free: 8.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.31, allocations: 331.5 kB / 0.5377 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.3101, allocations: 26.36 kB / 0.5377 GB, free: 7.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3102, allocations: 74.11 kB / 0.5378 GB, free: 7.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3104, allocations: 90.84 kB / 0.5378 GB, free: 7.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3104, allocations: 5.344 kB / 0.5379 GB, free: 7.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002693/0.3107, allocations: 137.2 kB / 0.538 GB, free: 7.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3107, allocations: 13.34 kB / 0.538 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3107, allocations: 1.188 kB / 0.538 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3107, allocations: 2.188 kB / 0.538 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3109, allocations: 20.7 kB / 0.538 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3109, allocations: 2.719 kB / 0.538 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.311, allocations: 19.75 kB / 0.538 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.311, allocations: 4.25 kB / 0.538 GB, free: 7.441 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001199/0.3111, allocations: 132.8 kB / 0.5382 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3111, allocations: 17.53 kB / 0.5382 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.3112, allocations: 23.58 kB / 0.5382 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3112, allocations: 1.344 kB / 0.5382 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3112, allocations: 1.344 kB / 0.5382 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3112, allocations: 0 / 0.5382 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3114, allocations: 236.2 kB / 0.5384 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3114, allocations: 0 / 0.5384 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.3115, allocations: 6.219 kB / 0.5384 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3115, allocations: 1.5 kB / 0.5384 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3115, allocations: 1.781 kB / 0.5384 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3115, allocations: 1.531 kB / 0.5384 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3115, allocations: 4 kB / 0.5385 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.3118, allocations: 175.4 kB / 0.5386 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.3119, allocations: 98.39 kB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.312, allocations: 10.08 kB / 0.5387 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.312, allocations: 3.656 kB / 0.5387 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3121, allocations: 11.61 kB / 0.5387 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3121, allocations: 9.594 kB / 0.5387 GB, free: 6.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.3123, allocations: 178.8 kB / 0.5389 GB, free: 6.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3123, allocations: 0 / 0.5389 GB, free: 6.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.3126, allocations: 57.73 kB / 0.539 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002365/0.315, allocations: 1.114 MB / 0.5401 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3153, allocations: 83.89 kB / 0.5401 GB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3153, allocations: 0 / 0.5401 GB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3154, allocations: 39.33 kB / 0.5402 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3158, allocations: 57.81 kB / 0.5402 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.3181, allocations: 1.871 MB / 0.5421 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3184, allocations: 0.7233 MB / 0.5428 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3186, allocations: 43.05 kB / 0.5428 GB, free: 3.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3187, allocations: 55.06 kB / 0.5429 GB, free: 3.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3187, allocations: 1.156 kB / 0.5429 GB, free: 3.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.3467, allocations: 5.289 MB / 0.548 GB, free: 15.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.326, allocations: 10.83 kB / 0.548 GB, free: 15.7 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches