Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 117.6 kB / 17.78 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.001437/0.001437, allocations: 200.7 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.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 79.88 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3181, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003812/0.322, allocations: 1.732 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.3244, allocations: 1.022 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3245, allocations: 5.312 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.325, allocations: 78.08 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.3254, allocations: 114.1 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.3257, allocations: 78.91 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.326, allocations: 112.8 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3261, allocations: 14.52 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3262, allocations: 53.92 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.3264, allocations: 63.88 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3264, allocations: 7.656 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3266, allocations: 47.58 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.3267, allocations: 24.28 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.3267, allocations: 32.66 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3271, allocations: 128.2 kB / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3271, allocations: 0 / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3271, allocations: 0 / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3271, allocations: 5.219 kB / 0.5341 GB, free: 10.73 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.000701/0.3278, allocations: 426.8 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3279, allocations: 13.22 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.3279, allocations: 35.81 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.328, allocations: 14.56 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.3283, allocations: 217.6 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3284, allocations: 1.656 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3284, allocations: 6.531 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3286, allocations: 57.58 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3286, allocations: 0 / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3286, allocations: 1.062 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3286, allocations: 1.344 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3287, allocations: 22.17 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.3292, allocations: 296.2 kB / 0.5352 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.3295, allocations: 57.59 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.3296, allocations: 22 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3296, allocations: 1.031 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.3298, allocations: 72.7 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.3298, allocations: 0.9688 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006914/0.3305, allocations: 174.6 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.3306, allocations: 56.69 kB / 0.5355 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.3309, allocations: 230.6 kB / 0.5358 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3309, allocations: 27.08 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.331, allocations: 109.6 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.3311, allocations: 27.91 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.3312, allocations: 24.58 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3313, allocations: 321.6 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.3314, allocations: 26.98 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.3315, allocations: 35.45 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3317, allocations: 64.03 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3317, allocations: 0 / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002622/0.332, allocations: 103.8 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.332, allocations: 5.969 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.332, allocations: 0 / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3321, allocations: 5.438 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3322, allocations: 17.53 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3322, allocations: 4.906 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.3323, allocations: 13.2 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3323, allocations: 3.219 kB / 0.5365 GB, free: 8.484 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.0001543/0.3325, allocations: 125.7 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3325, allocations: 17.2 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.3326, allocations: 20.16 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3326, allocations: 5 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3326, allocations: 0 / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3326, allocations: 5 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.3333, allocations: 396.3 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3333, allocations: 0 / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.3334, allocations: 7.438 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.3334, allocations: 5.031 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3334, allocations: 10.05 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3334, allocations: 1.062 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3334, allocations: 5.656 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.3338, allocations: 200.5 kB / 0.5373 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.3339, allocations: 84.81 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3339, allocations: 4.938 kB / 0.5374 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.334, allocations: 14.2 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.3341, allocations: 3.688 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3341, allocations: 7.906 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.3344, allocations: 168.7 kB / 0.5376 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3344, allocations: 0 / 0.5376 GB, free: 7.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.3348, allocations: 25.28 kB / 0.5376 GB, free: 7.516 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.002931/0.3377, allocations: 1.1 MB / 0.5387 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.338, allocations: 61.69 kB / 0.5387 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.338, allocations: 0 / 0.5387 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3381, allocations: 38.33 kB / 0.5387 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.3386, allocations: 24.02 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.3413, allocations: 1.712 MB / 0.5404 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.3418, allocations: 0.7165 MB / 0.5411 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.3419, allocations: 14.25 kB / 0.5412 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.342, allocations: 43.33 kB / 0.5412 GB, free: 4.371 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.342, allocations: 0 / 0.5412 GB, free: 4.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.3668, allocations: 3.56 MB / 0.5447 GB, free: 2.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.389, allocations: 17.08 kB / 0.5447 GB, free: 2.449 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches