Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001335, allocations: 207.9 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 83.86 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3392, allocations: 62.43 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002921/0.3422, allocations: 1.696 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3438, allocations: 1.004 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.3439, allocations: 0 / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.3442, allocations: 53.66 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.3445, allocations: 99.12 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.3447, allocations: 73.55 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3449, allocations: 98.19 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3449, allocations: 13.72 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.345, allocations: 38.92 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.3451, allocations: 29.47 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3451, allocations: 6.688 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.3452, allocations: 28.61 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.3453, allocations: 26.86 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.3453, allocations: 47.92 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.3455, allocations: 120.5 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3456, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3456, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3456, allocations: 1.375 kB / 0.5339 GB, free: 10.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005485/0.3461, allocations: 447.7 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3462, allocations: 13.56 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.3462, allocations: 32.12 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.3462, allocations: 11.77 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3465, allocations: 223 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3466, allocations: 1.75 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3466, allocations: 5.312 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3467, allocations: 47.3 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3467, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3467, allocations: 5.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3467, allocations: 3.938 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.3468, allocations: 16.17 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.347, allocations: 196.9 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3472, allocations: 63.06 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.3473, allocations: 20.84 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3473, allocations: 0 / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.3474, allocations: 64.47 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3474, allocations: 4 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002728/0.3477, allocations: 101.1 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3478, allocations: 52.5 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3481, allocations: 275.8 kB / 0.5354 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3481, allocations: 29.7 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.3482, allocations: 112.1 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.3482, allocations: 18.22 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3482, allocations: 18.47 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3484, allocations: 336.3 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.3485, allocations: 10.84 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.3485, allocations: 27.58 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3486, allocations: 47.36 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3486, allocations: 5.031 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001623/0.3488, allocations: 89.53 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3488, allocations: 11.16 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3488, allocations: 1.125 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3489, allocations: 1.125 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.3489, allocations: 16.61 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.349, allocations: 1.219 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.349, allocations: 6.141 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.349, allocations: 2.281 kB / 0.5361 GB, free: 8.719 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 (7): * Single equations (assignments): 7 * 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.0001195/0.3491, allocations: 136.7 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3492, allocations: 18.81 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.3492, allocations: 19.8 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3492, allocations: 1.219 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3492, allocations: 0 / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3492, allocations: 0 / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3494, allocations: 195.4 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3494, allocations: 1.031 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.3495, allocations: 11.28 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3495, allocations: 0 / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3495, allocations: 5.188 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3495, allocations: 1.062 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3495, allocations: 4 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.3497, allocations: 111.9 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.3498, allocations: 87.61 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3498, allocations: 9.109 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.3498, allocations: 2.5 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.3499, allocations: 5.406 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3499, allocations: 2.688 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.3501, allocations: 205.9 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3501, allocations: 1.375 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3503, allocations: 21.69 kB / 0.5369 GB, free: 7.988 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00186/0.3522, allocations: 0.9457 MB / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.3524, allocations: 48.27 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3524, allocations: 0 / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.3525, allocations: 20.05 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3528, allocations: 34.81 kB / 0.538 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3547, allocations: 1.677 MB / 0.5396 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.355, allocations: 0.7152 MB / 0.5403 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.3551, allocations: 15.47 kB / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.3552, allocations: 42.3 kB / 0.5404 GB, free: 5.027 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3552, allocations: 0 / 0.5404 GB, free: 5.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.3807, allocations: 3.492 MB / 0.5438 GB, free: 3.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.346, allocations: 9.969 kB / 0.5438 GB, free: 3.141 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches