Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 118.8 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.002022/0.002022, allocations: 202 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.654/1.654, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.89 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4905, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003461/0.494, allocations: 1.738 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.496, allocations: 1.018 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.4961, allocations: 4 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.4964, allocations: 44.14 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.4968, allocations: 95.09 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.497, allocations: 76.3 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.4972, allocations: 104.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.4973, allocations: 14.86 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.4974, allocations: 38.92 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.4975, allocations: 42.7 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.4976, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.4977, allocations: 39.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.4978, allocations: 18.81 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.4978, allocations: 39.97 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.4981, allocations: 118.7 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4981, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4981, allocations: 3.938 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4981, allocations: 0 / 0.5344 GB, free: 11.04 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.0007145/0.4988, allocations: 432.8 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4989, allocations: 9.625 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.4989, allocations: 10.39 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.4992, allocations: 217.3 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4993, allocations: 1.75 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.4993, allocations: 5.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4995, allocations: 54.05 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4995, allocations: 1.375 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4995, allocations: 4 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4995, allocations: 1.375 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/0.4996, allocations: 21.55 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.5, allocations: 295.5 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.5002, allocations: 50.03 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.5003, allocations: 25.41 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.5003, allocations: 5.031 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.5005, allocations: 69.45 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.5005, allocations: 0 / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005809/0.5011, allocations: 182.2 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5012, allocations: 52.16 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5014, allocations: 197 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.5014, allocations: 30.8 kB / 0.536 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.5015, allocations: 100.7 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.5016, allocations: 24.27 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.5016, allocations: 24.42 kB / 0.5361 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5018, allocations: 330.1 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.5018, allocations: 15.34 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.5019, allocations: 39.58 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.502, allocations: 66.38 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5021, allocations: 0 / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.5023, allocations: 103.9 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5023, allocations: 5.75 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.5023, allocations: 0 / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5023, allocations: 9.016 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.5024, allocations: 17.06 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5024, allocations: 5.562 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.5025, allocations: 10.08 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5025, allocations: 7.344 kB / 0.5367 GB, free: 8.855 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.0001133/0.5026, allocations: 122.1 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.5027, allocations: 14.66 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.5027, allocations: 17.95 kB / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5027, allocations: 1.188 kB / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5027, allocations: 0 / 0.5368 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5027, allocations: 9.094 kB / 0.5368 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.5033, allocations: 393.9 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5034, allocations: 5.359 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.5034, allocations: 10.75 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5034, allocations: 1.094 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.5034, allocations: 6.188 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5034, allocations: 0.9375 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5034, allocations: 1.031 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.5037, allocations: 200.4 kB / 0.5374 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.5038, allocations: 92.09 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.5038, allocations: 6.438 kB / 0.5375 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.5039, allocations: 5 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.504, allocations: 15.64 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.504, allocations: 3.844 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.5041, allocations: 156.6 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5041, allocations: 0 / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.5044, allocations: 24.53 kB / 0.5377 GB, free: 7.887 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.001248/0.5056, allocations: 458.8 kB / 0.5382 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.5059, allocations: 65.8 kB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5059, allocations: 0 / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.5059, allocations: 25.42 kB / 0.5383 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.5063, allocations: 29.28 kB / 0.5383 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.5068, allocations: 232.6 kB / 0.5385 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.5072, allocations: 0.7096 MB / 0.5392 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.5073, allocations: 17.83 kB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.5074, allocations: 15.94 kB / 0.5392 GB, free: 6.684 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5074, allocations: 0 / 0.5392 GB, free: 6.684 MB / 398.1 MB Notification: Performance of Templates: time 0.004844/0.5122, allocations: 1.734 MB / 0.5409 GB, free: 5.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches