Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 118.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.00188/0.00188, allocations: 205.2 kB / 18.74 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.443/1.443, 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.2232/0.2232, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 79.86 kB / 481 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3546, allocations: 62.44 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003567/0.3583, allocations: 1.739 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3602, allocations: 1.038 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.3603, allocations: 0 / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.3606, allocations: 37.14 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.3609, allocations: 98.19 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3612, allocations: 83.44 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.3614, allocations: 108.5 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3616, allocations: 13.48 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3617, allocations: 49.59 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3618, allocations: 41.58 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3618, allocations: 5.5 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.3621, allocations: 116.4 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.3621, allocations: 20.05 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.3622, allocations: 33.38 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.3625, allocations: 179.6 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3626, allocations: 5.375 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3626, allocations: 0 / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3626, allocations: 0 / 0.5342 GB, free: 10.68 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.0006799/0.3633, allocations: 439.4 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3633, allocations: 9.625 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.3634, allocations: 32.12 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.3634, allocations: 9.016 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3638, allocations: 223.6 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3638, allocations: 9.75 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3638, allocations: 6.688 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.364, allocations: 69.08 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.364, allocations: 1.375 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.364, allocations: 0 / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3641, allocations: 1.375 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.3641, allocations: 17.61 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.3646, allocations: 284.1 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.3648, allocations: 67.36 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.3649, allocations: 29.34 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3649, allocations: 1.375 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.3651, allocations: 78.5 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3651, allocations: 1.375 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006664/0.3658, allocations: 203.9 kB / 0.5356 GB, free: 9.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.3658, allocations: 82.58 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.366, allocations: 168.6 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3661, allocations: 26.92 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.3661, allocations: 100.7 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3662, allocations: 32.42 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.3663, allocations: 31.16 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3664, allocations: 321 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/0.3665, allocations: 27.77 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.3666, allocations: 54.8 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3668, allocations: 71.89 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3668, allocations: 5.125 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002285/0.367, allocations: 123.4 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.367, allocations: 4.656 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3671, allocations: 1.375 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3671, allocations: 1.469 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3672, allocations: 28.92 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3673, allocations: 5.094 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.3673, allocations: 6.25 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3673, allocations: 3.562 kB / 0.5366 GB, free: 8.363 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 (13): * Single equations (assignments): 13 * 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.0001211/0.3675, allocations: 132.6 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3675, allocations: 12.5 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.3675, allocations: 13.22 kB / 0.5368 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3675, allocations: 1.062 kB / 0.5368 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3676, allocations: 5.062 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3676, allocations: 0 / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.3681, allocations: 429.9 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3681, allocations: 9.156 kB / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.3682, allocations: 10.47 kB / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3682, allocations: 0 / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3682, allocations: 3.125 kB / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3682, allocations: 3.938 kB / 0.5372 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3682, allocations: 1.219 kB / 0.5372 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3685, allocations: 215.8 kB / 0.5374 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.3686, allocations: 91.47 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3686, allocations: 10.3 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.3687, allocations: 6.703 kB / 0.5375 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3687, allocations: 8.031 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.3688, allocations: 10.7 kB / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3689, allocations: 128.1 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3689, allocations: 1.125 kB / 0.5377 GB, free: 7.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.3692, allocations: 51.47 kB / 0.5377 GB, free: 7.367 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 (10): * Single equations (assignments): 8 * 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.002499/0.3717, allocations: 1.204 MB / 0.5389 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.372, allocations: 84.7 kB / 0.539 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.372, allocations: 1.062 kB / 0.539 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.3721, allocations: 37.45 kB / 0.539 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3724, allocations: 33.06 kB / 0.5391 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.3744, allocations: 1.675 MB / 0.5407 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3748, allocations: 0.7005 MB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.98e-05/0.3749, allocations: 30.11 kB / 0.5414 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.375, allocations: 41.42 kB / 0.5414 GB, free: 4.168 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.375, allocations: 0 / 0.5414 GB, free: 4.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.401, allocations: 4.225 MB / 0.5456 GB, free: 1.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.568, allocations: 12.31 kB / 0.5456 GB, free: 1.836 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches