Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3922, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003311/0.3956, allocations: 1.728 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3976, allocations: 1.021 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3977, allocations: 1.281 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.3981, allocations: 37.53 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.3986, allocations: 94.06 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.3989, allocations: 80.73 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.3991, allocations: 100.1 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3993, allocations: 15.75 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3994, allocations: 42.98 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.3995, allocations: 33.77 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3995, allocations: 4.25 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3996, allocations: 39.61 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.398e-05/0.3997, allocations: 26.72 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.645e-05/0.3998, allocations: 34.61 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.4001, allocations: 120.5 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4001, allocations: 1.375 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4002, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4002, allocations: 0 / 0.534 GB, free: 10.8 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.000795/0.401, allocations: 411.6 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.401, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.4011, allocations: 44.05 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.4012, allocations: 12.97 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.4016, allocations: 220.5 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4016, allocations: 5.75 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.4017, allocations: 6.688 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4019, allocations: 58.05 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4019, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.402, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.402, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.969e-05/0.4021, allocations: 22.92 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.4026, allocations: 285.5 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.4028, allocations: 61.92 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.4029, allocations: 17.11 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4029, allocations: 1.375 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.4031, allocations: 69.12 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4031, allocations: 0 / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005828/0.4037, allocations: 174.3 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.4037, allocations: 56.78 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.4039, allocations: 190.1 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.404, allocations: 29.64 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.4041, allocations: 101.6 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.4041, allocations: 23.97 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.4042, allocations: 28.58 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4044, allocations: 321.6 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.4044, allocations: 19 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.4045, allocations: 39.14 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.4046, allocations: 58.8 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4046, allocations: 1.125 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001991/0.4048, allocations: 106.8 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4049, allocations: 7.594 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.4049, allocations: 1.25 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4049, allocations: 1.219 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.405, allocations: 20.41 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.405, allocations: 1.156 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.4051, allocations: 13.67 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4051, allocations: 3.281 kB / 0.5363 GB, free: 8.594 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.0001314/0.4052, allocations: 122.4 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.4053, allocations: 13 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.4053, allocations: 22.48 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4053, allocations: 1.281 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4054, allocations: 8 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4054, allocations: 5.469 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.4059, allocations: 392.2 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4059, allocations: 1.219 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.406, allocations: 14.86 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.406, allocations: 5.125 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.406, allocations: 2.438 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.406, allocations: 0 / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.406, allocations: 1.031 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.4063, allocations: 204.7 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.4064, allocations: 88.39 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.4064, allocations: 9.141 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.4065, allocations: 6.25 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.4065, allocations: 7.297 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4066, allocations: 11.45 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.4067, allocations: 135.6 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4067, allocations: 0 / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.407, allocations: 25.27 kB / 0.5373 GB, free: 7.629 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.002309/0.4093, allocations: 1.09 MB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.4096, allocations: 57.56 kB / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4096, allocations: 0 / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.4097, allocations: 30.84 kB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.41, allocations: 30.8 kB / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.4119, allocations: 1.635 MB / 0.5401 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.4123, allocations: 0.7044 MB / 0.5408 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.4124, allocations: 19.02 kB / 0.5408 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.4124, allocations: 35.05 kB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 3.927e-06/0.4125, allocations: 0 / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.4374, allocations: 3.387 MB / 0.5442 GB, free: 2.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.405, allocations: 5.469 kB / 0.5442 GB, free: 2.699 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches