Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 121.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.001315/0.001315, allocations: 199.9 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.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.11 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 79.88 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3776, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003087/0.3807, allocations: 1.691 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3825, allocations: 0.9988 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.3826, allocations: 5.312 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.3829, allocations: 49.69 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.3833, allocations: 101.8 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3835, allocations: 74.92 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.3837, allocations: 102.2 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.3837, allocations: 13.72 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.3838, allocations: 38.92 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.3839, allocations: 25.48 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3839, allocations: 2.75 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.384, allocations: 32.59 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.3841, allocations: 30.86 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.3842, allocations: 47.86 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3844, allocations: 120.5 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3844, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3844, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3844, allocations: 0 / 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.0006324/0.3851, allocations: 442.2 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3851, allocations: 13.56 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.3852, allocations: 36.12 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.3852, allocations: 11.52 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.3856, allocations: 226.5 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3856, allocations: 1.969 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3856, allocations: 5.219 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3857, allocations: 51.62 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3858, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3858, allocations: 5.172 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.3858, allocations: 3.938 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.3859, allocations: 12.78 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.3861, allocations: 187.6 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3863, allocations: 63.86 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.3864, allocations: 20.8 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3864, allocations: 0.6875 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3866, allocations: 64.95 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3866, allocations: 4 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002921/0.3869, allocations: 96.78 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3869, allocations: 56.72 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.3873, allocations: 271 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3873, allocations: 29.7 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.3874, allocations: 112 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.3874, allocations: 22.27 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3875, allocations: 22.48 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3876, allocations: 331.7 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.3877, allocations: 12.16 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.3877, allocations: 27.89 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3878, allocations: 47.2 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3879, allocations: 3.938 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001778/0.388, allocations: 92.84 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3881, allocations: 5.344 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3881, allocations: 1.312 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3881, allocations: 1.281 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.3882, allocations: 11.83 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3882, allocations: 1 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.3882, allocations: 6.484 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.3883, allocations: 2.844 kB / 0.5361 GB, free: 8.727 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.0001229/0.3884, allocations: 143.6 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3884, allocations: 17.59 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.3885, allocations: 20.33 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3885, allocations: 1.219 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3885, allocations: 0 / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3885, allocations: 5.188 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3887, allocations: 198.5 kB / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.3887, allocations: 5.359 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.3887, allocations: 6.688 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3887, allocations: 0 / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3887, allocations: 5.359 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3887, allocations: 1.375 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3888, allocations: 4 kB / 0.5365 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.389, allocations: 115.3 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.389, allocations: 91.77 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3891, allocations: 1.375 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.822e-05/0.3891, allocations: 5.5 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.3891, allocations: 6.734 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3892, allocations: 2.75 kB / 0.5367 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.3894, allocations: 201.9 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3894, allocations: 0 / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.3896, allocations: 22.12 kB / 0.537 GB, free: 7.984 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.001948/0.3916, allocations: 0.9355 MB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.3918, allocations: 56.16 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3918, allocations: 0 / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.3918, allocations: 15.94 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3921, allocations: 35.66 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.001824/0.3939, allocations: 1.668 MB / 0.5396 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3943, allocations: 0.7193 MB / 0.5403 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.428e-05/0.3944, allocations: 16.22 kB / 0.5403 GB, free: 5.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.3944, allocations: 41.14 kB / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3945, allocations: 1.125 kB / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.4201, allocations: 3.485 MB / 0.5438 GB, free: 3.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.381, allocations: 5.219 kB / 0.5438 GB, free: 3.152 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches