Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, 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.238/0.238, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 76.09 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3791, allocations: 62.45 MB / 0.5307 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003201/0.3824, allocations: 1.727 MB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.3842, allocations: 1.022 MB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.3843, allocations: 5.375 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3846, allocations: 38.78 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.385, allocations: 99.03 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.3852, allocations: 74.92 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.3854, allocations: 104.9 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.3855, allocations: 10.86 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.3856, allocations: 44.28 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.3856, allocations: 33.42 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3857, allocations: 4.125 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.3858, allocations: 39.48 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3858, allocations: 26.72 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.3859, allocations: 39.98 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3861, allocations: 117.8 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3861, allocations: 0 / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3862, allocations: 0 / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3862, allocations: 1.375 kB / 0.534 GB, free: 10.7 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.0006079/0.3868, allocations: 424.8 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3868, allocations: 12.25 kB / 0.5344 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3869, allocations: 36.06 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3869, allocations: 10.39 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3872, allocations: 224.7 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3873, allocations: 1.625 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.3873, allocations: 6.469 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3875, allocations: 54.17 kB / 0.5347 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3875, allocations: 0 / 0.5347 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3875, allocations: 1.156 kB / 0.5347 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3875, allocations: 5.125 kB / 0.5347 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.3876, allocations: 22.05 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.388, allocations: 294.5 kB / 0.5351 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3881, allocations: 58.55 kB / 0.5351 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.3882, allocations: 21.41 kB / 0.5351 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3882, allocations: 5.469 kB / 0.5351 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3884, allocations: 64.3 kB / 0.5352 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3884, allocations: 1.469 kB / 0.5352 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000552/0.389, allocations: 174 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.389, allocations: 52.56 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3892, allocations: 200.4 kB / 0.5356 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3893, allocations: 34.73 kB / 0.5356 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.3893, allocations: 104.8 kB / 0.5357 GB, free: 9.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3894, allocations: 24.27 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3894, allocations: 23.58 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3896, allocations: 326.7 kB / 0.5361 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.3896, allocations: 19.66 kB / 0.5361 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.3897, allocations: 35.39 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3898, allocations: 62.83 kB / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3899, allocations: 0 / 0.5362 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.3901, allocations: 103.5 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3901, allocations: 13.33 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3901, allocations: 1.219 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3901, allocations: 1.312 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.3902, allocations: 17.06 kB / 0.5363 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3902, allocations: 1.125 kB / 0.5363 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3903, allocations: 13.14 kB / 0.5363 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3903, allocations: 3.719 kB / 0.5364 GB, free: 8.473 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.0001212/0.3904, allocations: 125.7 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.3905, allocations: 13.38 kB / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.138e-05/0.3905, allocations: 21.89 kB / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3905, allocations: 1.406 kB / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3905, allocations: 0 / 0.5365 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3905, allocations: 5.312 kB / 0.5365 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.391, allocations: 398.7 kB / 0.5369 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.391, allocations: 0 / 0.5369 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.3911, allocations: 12.23 kB / 0.5369 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3911, allocations: 3.938 kB / 0.5369 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3911, allocations: 2.75 kB / 0.5369 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3911, allocations: 0 / 0.5369 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3911, allocations: 1.375 kB / 0.5369 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3914, allocations: 208.2 kB / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.3915, allocations: 91.78 kB / 0.5372 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.3915, allocations: 6.625 kB / 0.5372 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.3916, allocations: 5.219 kB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3916, allocations: 4.125 kB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.3916, allocations: 7.016 kB / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3918, allocations: 144.2 kB / 0.5374 GB, free: 7.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3918, allocations: 5.469 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.392, allocations: 28.39 kB / 0.5374 GB, free: 7.508 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.002118/0.3942, allocations: 1.088 MB / 0.5385 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.3944, allocations: 61.81 kB / 0.5385 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3944, allocations: 0 / 0.5385 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.3944, allocations: 29.95 kB / 0.5385 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.3948, allocations: 24.48 kB / 0.5386 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.3967, allocations: 1.659 MB / 0.5402 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3971, allocations: 0.7031 MB / 0.5409 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.3972, allocations: 17.72 kB / 0.5409 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.3972, allocations: 39.3 kB / 0.5409 GB, free: 4.41 MB / 398.1 MB Notification: Performance of SimCode: time 3.647e-06/0.3972, allocations: 0 / 0.5409 GB, free: 4.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.4236, allocations: 3.463 MB / 0.5443 GB, free: 2.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.538, allocations: 9.109 kB / 0.5443 GB, free: 2.531 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches